Re:All 104 amendments to the Constitution of India as Git co...
by progval on Sunday January 24, 2021 @06:17PM
(#25897220)
> git dates are unsigned timestamps
You are thinking of the in-memory representation of the (main) implementation, not the git format itself.
The on-disk/wire format is text representation, encoded in decimal. You can add a minus sign in front of it, git won't crash when parsing it. The implementation will, however, display the wrong date on git log, but it's a bug that git developers are working on.
For example (coincidentally, it is also a constitution):
You are thinking of the in-memory representation of the (main) implementation, not the git format itself.
The on-disk/wire format is text representation, encoded in decimal. You can add a minus sign in front of it, git won't crash when parsing it. The implementation will, however, display the wrong date on git log, but it's a bug that git developers are working on.
For example (coincidentally, it is also a constitution):