commit:     abcb776e7f795908ad39f72786b2bb991a5a88b5
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 08:50:24 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Feb 21 08:53:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=abcb776e

scripts/rsync-generation/update-rsync-master: use CommitDate iso AuthorDate

AuthorDate can be anything, as I just found out, so don't rely on that.
Use CommitDate instead, which is hopefully closer to reality.

 scripts/rsync-generation/update-rsync-master.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/rsync-generation/update-rsync-master.sh 
b/scripts/rsync-generation/update-rsync-master.sh
index e78b89f896..0a4cf32d15 100755
--- a/scripts/rsync-generation/update-rsync-master.sh
+++ b/scripts/rsync-generation/update-rsync-master.sh
@@ -46,7 +46,7 @@ apply_git_mtimes() {
        local ts=0
        local files=()
        {
-               git log --pretty=%at --name-status --reverse "${from}..${to}"
+               git log --pretty=%ct --name-status --reverse "${from}..${to}"
                echo 999  # end marker to trigger the last block to be done
        } | \
        while read line ; do

Reply via email to