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

How does 'git notes --ref' work?

From
EKEdwin Kempin <edwin.kempin@gmail.com>
Date
Jan 14, 2011, 10:21 UTC
Message-ID
<AANLkTimL137aFt2dyvdHxTMUjB4diwJQG-FQiYEK8tVJ@mail.gmail.com>

How does 'git notes --ref' work? If I try 'git notes --ref refs/meta/reject-commits add -m "reject" HEAD' then the note is added to 'refs/notes/refs/meta/reject-commits' and not as expected to 'refs/meta/reject-commits'.

The description of the --ref option says [1]: "The ref is taken to be in refs/notes/ if it is not qualified." What is a qualified ref?

Thanks, Edwin
[1] http://www.kernel.org/pub/software/scm/git/docs/git-notes.html
Next: Johan Herland
Message 1 of 3 in “How does 'git notes --ref' work?”
  1. Edwin KempinJan 14, 2011
  2. Johan HerlandJan 14, 2011
  3. Edwin KempinJan 14, 2011

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.