From 9aa6784b153144246b71472494a5f4ca4b111f3e Mon Sep 17 00:00:00 2001 From: fosslinux Date: Mon, 18 Aug 2025 21:54:22 +1000 Subject: [PATCH] Avoid recording gzip creation time in mirror.sh --- mirror.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mirror.sh b/mirror.sh index acffee26..3254a793 100755 --- a/mirror.sh +++ b/mirror.sh @@ -162,7 +162,11 @@ do_file() { ( cd "${outdir}" || exit - git config tar.tar.gz.command gzip + # Some versions of git by default use the internal gzip + # implementation, others use external gzip; standardize this + # -n is used for older versions of git that record gzip creation + # date/time + git config tar.tar.gz.command "gzip -n" # -T1 avoids non-determinism due to threading # This may not be correct for forges other than Savannah git config tar.tar.xz.command "xz -T1"