Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/harvest-commit-times
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-24 16:27:35 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-24 16:27:35 +0200
commit012d9fa73d6197b4a577ee78d5888be670bcd106 (patch)
tree2e5b8b290552f3db753dbdf67585d0bd545ec076 /bin/harvest-commit-times
parent2722efe6a807ed4aede5001b6d032a579d772c0e (diff)
fix harvest-commit-times
make clear, it is a path -> works now for deleted stuff, too
Diffstat (limited to 'bin/harvest-commit-times')
-rwxr-xr-xbin/harvest-commit-times2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/harvest-commit-times b/bin/harvest-commit-times
index 0501fc5..3249960 100755
--- a/bin/harvest-commit-times
+++ b/bin/harvest-commit-times
@@ -107,7 +107,7 @@ while true; do
| while read -r id pkgbase git_revision mod_git_revision repository architecture; do
commit_time=$(
# shellcheck disable=SC2154
- git -C "${repo_paths__state}" log -n 1 --pretty=format:%ct "${repository}-${architecture}/${pkgbase}"
+ git -C "${repo_paths__state}" log -n 1 --pretty=format:%ct HEAD -- "${repository}-${architecture}/${pkgbase}"
)
if [ -n "${commit_time}" ]; then
printf '%s\t%s\n' \