commit 71669d77c6899310dfc263e188db1154c41c6610
Author: Kacper Kornet <[email protected]>
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.

 make-request.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/make-request.sh b/make-request.sh
index cdb8208..e70d474 100755
--- a/make-request.sh
+++ b/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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to