Make patch commit timestamps reproducible.

This forces commit timestamps to match authorship timestamps,
meaning that the only remaining avenue of variability is the
committing person.
This commit is contained in:
Kitlith
2025-05-27 08:55:46 +02:00
committed by xytovl
parent f97cac0b85
commit 38b64fe09c
+1 -1
View File
@@ -6,7 +6,7 @@ if [ -d ".git" ] ; then
git config --local commit.gpgsign false
git am --abort 2> /dev/null
git checkout .
exec git am "$@"
exec git am --committer-date-is-author-date "$@"
fi
# There is no reliable way to apply a patch and succeed if it was