Re: Millisecond precision in timestamps?
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 28, 2012, 00:26 UTC
- Message-ID
- <CAMP44s3hpuxbo7mfKAD2trOkezPrV3nKYpNAzXOs3sQym102LQ@mail.gmail.com>
- In-Reply-To
- <20121128001231.GA27971@thyrsus.com>
On Wed, Nov 28, 2012 at 1:12 AM, Eric S. Raymond <esr@thyrsus.com> wrote:
Show 10 quoted lines
> Shawn Pearce <spearce@spearce.org>: >> Well... if we added a fractional seconds to a commit, older versions >> of Git will scream loudly and refuse to work with the new commit. That >> would create a fork of Git. > > So much for that idea, I guess. > > Unless..I don't know how git's database representations work. Are they > version-stamped in any way? If so, some slightly painful hackery would > get around that problem.
% git cat-file -p HEAD
You'll see exactly how git stores commits. Changing anything in there must be done carefully.
-- Felipe Contreras