Re: Millisecond precision in timestamps?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 27, 2012, 22:06 UTC
- Message-ID
- <7vzk22lmz9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAJo=hJtZ+n+D4pOmeNApDeLNyZYeqnEDDYJWwSj_wLauQ+w4hQ@mail.gmail.com>
Shawn Pearce <spearce@spearce.org> writes:
> JGit would fortunately ignore a floating point timestamp specification > if given in a commit, but I don't know about other Git > implementations... like say git. :-)
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).