Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/rsync-generation/
Date: Wed, 21 Feb 2018 08:53:38
Message-Id: 1519203205.abcb776e7f795908ad39f72786b2bb991a5a88b5.grobian@gentoo
1 commit: abcb776e7f795908ad39f72786b2bb991a5a88b5
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 21 08:50:24 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 21 08:53:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=abcb776e
7
8 scripts/rsync-generation/update-rsync-master: use CommitDate iso AuthorDate
9
10 AuthorDate can be anything, as I just found out, so don't rely on that.
11 Use CommitDate instead, which is hopefully closer to reality.
12
13 scripts/rsync-generation/update-rsync-master.sh | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/scripts/rsync-generation/update-rsync-master.sh b/scripts/rsync-generation/update-rsync-master.sh
17 index e78b89f896..0a4cf32d15 100755
18 --- a/scripts/rsync-generation/update-rsync-master.sh
19 +++ b/scripts/rsync-generation/update-rsync-master.sh
20 @@ -46,7 +46,7 @@ apply_git_mtimes() {
21 local ts=0
22 local files=()
23 {
24 - git log --pretty=%at --name-status --reverse "${from}..${to}"
25 + git log --pretty=%ct --name-status --reverse "${from}..${to}"
26 echo 999 # end marker to trigger the last block to be done
27 } | \
28 while read line ; do