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

Re: [PATCH] notes: document behavior of --ref and --notes DWIMery

From
Keller, Jacob E <jacob.e.keller@intel.com>
Date
Sep 22, 2015, 21:03 UTC
Message-ID
<1442955811.26280.50.camel@intel.com>
In-Reply-To
<xmqq8u7y2nnq.fsf@gitster.mtv.corp.google.com>
On Tue, 2015-09-22 at 13:40 -0700, Junio C Hamano wrote:
Show 9 quoted lines
> How about phrasing it totally differently?
> 
> 	The ref specifies the full refname when it begins with
> 	`refs/notes/`; otherwise `ref/notes/` is prefixed to form a
> 	full name of the ref.
> 
> I think that would remove the need to illustrate with concrete
> examples like refs/heads/blah.
> 

Wait, what about the DWIM of notes/<name> goes to refs/notes/<name>.. do we need to explain that here? it might seem that "notes/foo" ends up as "refs/notes/notes/foo" which is not really what we mean.

Regards, Jake

Previous: Keller, Jacob ENext: Junio C Hamano
Message 4 of 5 in “notes: document behavior of --ref and --notes DWIMery”
  1. notes: document behavior of --ref and --notes DWIMeryJacob Keller, Sep 22, 2015
  2. Junio C HamanoSep 22, 2015
  3. Keller, Jacob ESep 22, 2015
  4. Keller, Jacob ESep 22, 2015
  5. Junio C HamanoSep 22, 2015

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.