From 012d9fa73d6197b4a577ee78d5888be670bcd106 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 24 May 2023 16:27:35 +0200 Subject: fix harvest-commit-times make clear, it is a path -> works now for deleted stuff, too --- bin/harvest-commit-times | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/harvest-commit-times') 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' \ -- cgit v1.2.3-54-g00ecf