]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/archive-mtime'
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2023 18:08:57 +0000 (10:08 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2023 18:08:57 +0000 (10:08 -0800)
"git archive HEAD^{tree}" records the paths with the current
timestamp in the archive, making it harder to obtain a stable
output.  The command learned the --mtime option to specify an
arbitrary timestamp (e.g. --mtime="@0 +0000" for the epoch).

* rs/archive-mtime:
  archive: add --mtime

1  2 
archive.c

diff --cc archive.c
Simple merge