Re: [PATCH] log: respect log.shownotes variable
- From
Jeff King <peff@peff.net>
- Date
- Apr 8, 2010, 07:07 UTC
- Message-ID
- <20100408070732.GI30473@coredump.intra.peff.net>
- In-Reply-To
- <4BBD390A.1030906@drmicha.warpmail.net>
On Thu, Apr 08, 2010 at 10:01:46AM +0800, Michael J Gruber wrote:
Show 7 quoted lines
> BTW: I used to keep external notes in > refs/remotes/remotename/notes/notestree but since a while ago the notes > code insists on refs/notes/. In some sense it is similar to tags, where > you need to set up special refspecs if you want to have the remote > tags/notes but don't want to mix them (and possibly have them conflict) > with your own. But I don't know a good strategy for making this more > user friendly.
I always assumed that the "prepend refs/notes" magic would refuse to do so if the ref started with "notes/" (in which case it would append "refs/") or "refs/" (in which case it would append nothing). That is how we handle some situations where a branch head or a remote could be used.
But I never checked, so maybe it doesn't. It probably should.
-Peff