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:
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' \