[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Storing (hidden) per-commit metadata
From:       Jelmer Vernooij <jelmer () samba ! org>
Date:       2010-02-19 17:11:25
Message-ID: 1266599485.29753.54.camel () ganieda
[Download RAW message or body]

To allow round-tripping pushes from Bazaar into Git, I'm looking for a
good place to store Bazaar semantics that can not be represented in Git
at the moment. This data should ideally be hidden from the user as much
as possible; it would e.g. contain mappings from git hashes to Bazaar
ids.=20

One option would be to store it (as hg-git does) at the bottom of each
git commit message. However, given the amount of data and the its kind,
it would be annoying to have it displayed by e.g. "git show" or "git
log".

Some people have suggested I use the new git notes to store this
metadata, but I haven't quite figured out how to add notes that aren't
displayed by git log/show and are still propagated along with the
revision. Is that at all possible using notes, and are they the right
thing to use here?

There also doesn't appear to be any documentation on notes in
Documentation/technical at the moment. I'm happy to contribute some if
somebody can provide pointers.

Cheers,

Jelmer

["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic