From: Johan Herland Date: Sat, 25 Apr 2009 12:08:22 GMT Subject: Re: Extra metadata in the commit? Message-ID: <200904251408.22410.johan@herland.net> In-Reply-To: On Saturday 25 April 2009, Johannes Schindelin wrote: > On Fri, 24 Apr 2009, Scott Chacon wrote: > > 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. > > I'd suggest keeping it in the commit body, for better visibility and > easier handling by tools. Or even better: Keep it in separate commit notes (provided you can wait for the js/notes topic in pu to make it into a release). If you add the notes with GIT_NOTES_REF=refs/notes/hg_metadata, you will also keep them nicely out of the way of everybody else. (I'm using this approach when building a bidirectional CVS <-> Git helper on top of Barkalow's foreign-scm topic). Have fun! :) ...Johan -- Johan Herland, www.herland.net