aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-03-09 15:35:41 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-03-09 15:35:41 -0800
commita5775f83a8d008e1c8b655ed7562638c77c6bacd (patch)
treefd6309259a956e01e58b1a0641a68afc0bdd6147
parentrsync-gen.sh: remove Manifest sync optimization (diff)
downloadmastermirror-scripts-a5775f83a8d008e1c8b655ed7562638c77c6bacd.tar.gz
mastermirror-scripts-a5775f83a8d008e1c8b655ed7562638c77c6bacd.tar.bz2
mastermirror-scripts-a5775f83a8d008e1c8b655ed7562638c77c6bacd.zip
Use --first-parent on git-restore-mtime; available upstream in PR21.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xmastermirror-staging.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastermirror-staging.sh b/mastermirror-staging.sh
index aa68e58..6f2d92d 100755
--- a/mastermirror-staging.sh
+++ b/mastermirror-staging.sh
@@ -24,7 +24,7 @@ GIT_CL="${GIT} clone -q"
GIT_PL="${GIT} pull -q --ff-only --no-stat --no-rebase"
WGET="/usr/bin/wget --timeout=2 --quiet --timestamping"
-GIT_RESTORE_MTIME="/usr/lib/python-exec/python2.7/git-restore-mtime -q -m -c"
+GIT_RESTORE_MTIME="/usr/lib/python-exec/python2.7/git-restore-mtime -q -m -c --first-parent"
rc=0
for cmd in \