git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Michael J GruberNext: Jeff King
Message 4 of 8 in “log: respect log.shownotes variable”
  1. log: respect log.shownotes variableJeff King, Apr 7, 2010
  2. Junio C HamanoApr 7, 2010
  3. Michael J GruberApr 8, 2010
  4. Jeff KingApr 8, 2010
  5. Jeff KingApr 8, 2010
  6. Thomas RastApr 8, 2010
  7. Junio C HamanoApr 8, 2010
  8. Jeff KingApr 8, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.