[projects/pld-builder.new] Use author date to sort tags
draenog
draenog at pld-linux.org
Sat Jul 28 19:43:27 CEST 2012
commit 3b0baffc29e1d618c9c1fb8e8cea34c9836cc596
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Sat Jul 28 18:42:21 2012 +0100
Use author date to sort tags
Committer date was set to date of conversion from git, so it is
not good for sorting tags.
client/make-request.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/client/make-request.sh b/client/make-request.sh
index cdb8208..e70d474 100755
--- a/client/make-request.sh
+++ b/client/make-request.sh
@@ -161,7 +161,7 @@ autotag() {
# ensure package ends with .spec
s=${s%.spec}.spec
local gitdir=$(dirname $s)/.git
- out=$(git --git-dir="$gitdir" for-each-ref --count=1 --sort=-committerdate refs/tags/auto/$dist \
+ out=$(git --git-dir="$gitdir" for-each-ref --count=1 --sort=-authordate refs/tags/auto/$dist \
--format='%(refname:short)')
echo "$s:$out"
done
More information about the pld-cvs-commit
mailing list