On Wed, 16 Apr 2014 20:11:20 +0400
Konstantin Khomoutov <flatw...@users.sourceforge.net> wrote:

> The commit object has a very simple structure:
> ----
> Key ":" SP Value LF
> [Key ...]
> LF
> Message
> ----

Sorry, of course there's no ":" between the key and the value in the
headers -- I was thinking of HTTP when composing my response.

So they're just

Key1 SP Value2 LF
Key2 SP Value2 LF

Just do `git cat-file commit HEAD` in the nearest repository and see
for yourself.

To reiterate: this format *is* stable and won't break in a future
version (though new keys might be added, I reckon, so be prepared to
skip the fields you don't recognize or just convert everything to XML
elements named after keys).

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to