3 ms·
https://stackoverflow.com/questions/21787872/is-it-possible-to-set-a-git-commit-to-have-a-timestamp-prior-to-1970 https://stackoverflow.com/questions/21787872/i
by Someone 7y ago
https://stackoverflow.com/questions/21787872/is-it-possible-to-set-a-git-commit-to-have-a-timestamp-prior-to-1970 https://stackoverflow.com/questions/21787872/is-it-possible-... seems to indicate it should be possible now.
In particular, https://stackoverflow.com/a/24977895 https://stackoverflow.com/a/24977895 says:
”As I mentioned in 2017, in "Use future date while making git commits", Git has started to adopt a different and dedicated timestamp_t type.
As illustrated in Legilibre/Archeo-Lex issue 47:
Dates are now using the timestamp_t type, defined as typedef uintmax_t timestamp_t;, in place of unsigned long type, in order to fix some issues on 32bits platforms... and Windows 64 bits ^^.
The project archeo-lex.fr (which depends on older dates) is using git hash-object, combined with the Git repo viewer Legilibre/Archeo-Lex-web.
This is now (Feb. 2019) done, as commented by Seb35“
(https://archeo-lex.fr/codes https://archeo-lex.fr/codes has a history of French law)
- jwilk 7y agoIt's still unsigned, so I don't see how it helps with pre-1970 dates.