Avoid recording gzip creation time in mirror.sh

This commit is contained in:
fosslinux 2025-08-18 21:54:22 +10:00
parent 30bf5be8ff
commit 9aa6784b15

View file

@ -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"