From: Johan Herland <johan@herland.net>
To: Scott Chacon <schacon@gmail.com>
Cc: git@vger.kernel.org, Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: Extra metadata in the commit?
Date: Sat, 25 Apr 2009 14:08:22 +0200 [thread overview]
Message-ID: <200904251408.22410.johan@herland.net> (raw)
In-Reply-To: <alpine.DEB.1.00.0904250154080.10279@pacific.mpi-cbg.de>
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, <johan@herland.net>
www.herland.net
prev parent reply other threads:[~2009-04-25 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200904251408.22410.johan@herland.net \
--to=johan@herland.net \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=schacon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).