Re: Millisecond precision in timestamps?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 28, 2012, 02:01 UTC
- Message-ID
- <7vk3t6jxjj.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20121127230419.GA26080@thyrsus.com>
"Eric S. Raymond" <esr@thyrsus.com> writes:
Show 8 quoted lines
> Junio C Hamano <gitster@pobox.com>: >> fsck_ident() in fsck.c rejects anything but " [1-9][0-9]* " after >> the author and committer ident (i.e. the timestamp has to be >> integral number of seconds since the epoch, not before it, nor >> with fractional seconds). > > Is this architecturally significant? It sounds like another > implementation detail.
No.
If you create a commit object that violatse it and have 47 million existing users pull such a history, they not be able to use such a history with the version of Git they have. Don't go there.
As somebody else mentioned, in distributed environment millisecond timestamps won't have much meaning, so it looks like a very low priority to me from Git's perspective.