Re: Millisecond precision in timestamps?
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 28, 2012, 01:36 UTC
- Message-ID
- <CAMP44s3yq-C7nYciONf=O61F9mceNV36A3XRPtXCrH=6m-ZpMg@mail.gmail.com>
- In-Reply-To
- <20121128011136.GA29674@thyrsus.com>
On Wed, Nov 28, 2012 at 2:11 AM, Eric S. Raymond <esr@thyrsus.com> wrote:
Show 8 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com>: >> % git cat-file -p HEAD >> >> You'll see exactly how git stores commits. Changing anything in there >> must be done carefully. > > Oh, I've seen *that* before. Are you telling me the database > representation is actually textual?
http://git-scm.com/book/ch9-2.html
--- % ruby -e "require 'zlib'; puts Zlib::Inflate.inflate(File.read('.git/objects/55/47f28602c9b07f69dfa4685945f71f660e8b25'))"
commit 382tree a14fe16bb9cb7d949d9eb7570bf56968b209f4a2 parent c3640f09011d969ac85753c8f0114ce9b9c86603 author Felipe Contreras <felipe.contreras@gmail.com> 1352767480 +0100 committer Felipe Contreras <felipe.contreras@gmail.com> 1354064281 +0100
remote-bzr: detect local repositories
So we don't create a clone unnecessarily.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> ---
Yes, that's what I'm telling you.
-- Felipe Contreras