Feature request: Add --mtime option to git archive
- From
- Raul E Rangel <rrangel@chromium.org>
- Date
- Feb 16, 2023, 19:41 UTC
- Message-ID
- <Y+6G9n6cWRT9EKyl@google.com>
When generating a tarball with `git archive <tree>`, `git archive` will use the current time as the mtime. This results in a non-hermetic tarball. Could we should add a --mtime option that allows passing in the time?
Thanks!