Re: Idea: "git format-patch" should get more information out of git
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Aug 30, 2011, 15:41 UTC
- Message-ID
- <4E5D048D.4010902@drmicha.warpmail.net>
- In-Reply-To
- <20110830152217.GA13022@sigill.intra.peff.net>
Jeff King venit, vidit, dixit 30.08.2011 17:22:
> On Tue, Aug 30, 2011 at 02:21:13PM +0200, Michael J Gruber wrote:
...
Show 7 quoted lines
>> Anyways, notes survive rebase etc. > > You still have to manually configure: > > git config notes.rewriteRef refs/notes/commits > > Perhaps that is something that should be changed.
Right, I've done that quite a while ago and forgot.
Show 12 quoted lines
>> and at format-patch time you can decide whether you want to include >> them or not (with my patch). > > Yeah. Don't get me wrong, I think putting "---" notes into git-notes is > way more flexible. It's just that it's also more complex, and > unnecessarily so for many use cases. > > We have some patches to hide that complexity, but I was at one point > wondering if all of the complexity was worthwhile. But as I mentioned > above, if you want to build anything more complex than a pure-patch > workflow, the simple solution breaks down. So it probably is worth > pursuing.
Reminds me of the ref namespace restructuring which could help sharing notes... Oh, lots to do before git 3.0!
Michael