git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Extra metadata in the commit?
@ 2009-04-24 22:47 Scott Chacon
  2009-04-24 23:06 ` Junio C Hamano
  2009-04-24 23:55 ` Johannes Schindelin
  0 siblings, 2 replies; 5+ messages in thread
From: Scott Chacon @ 2009-04-24 22:47 UTC (permalink / raw)
  To: git list

Hey all,

I'm working on a hg<->git bidirectional tool using Git as the
communication protocol, so there is a bunch of Hg metadata that I need
to keep in Git to ensure I can convert commits created in Hg back into
the exact same objects after they upload to the Git db and then come
back down.  This means storing explicit rename info, branch names, etc
somewhere without messing up Git clients that want to work on the same
repo.  So, I can keep this data in the commit message, but I thought
it would be cleaner to keep it as extra fields in the commit object
before the "\n\n" separator.  Before I go too far down this road, is
there anything horrible that might happen in any of the core Git tools
if extra data is there?

Thanks,
Scott

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-25 12:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-24 22:47 Extra metadata in the commit? Scott Chacon
2009-04-24 23:06 ` Junio C Hamano
2009-04-24 23:55 ` Johannes Schindelin
2009-04-25  9:49   ` Alex Riesen
2009-04-25 12:08   ` Johan Herland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).