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

Re: [Bug?] git notes are not copied during rebase

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Nov 17, 2016, 10:30 UTC
Message-ID
<20161117103043.4835-1-szeder@ira.uka.de>
In-Reply-To
<CAM+g_NvFhyReNREpTYKbXKm=8QmSH1tnrTCyFm9HusOnfAbCCA@mail.gmail.com>
> I am currently a heavy user of rebasing and noticed that my notes
> don't get correctly applied, even if notes.rewrite.rebase is set
> explicitly to true (though manual says that is the default).

Setting 'notes.rewrite.rebase' is, as you mentioned, not necessary, but not sufficient either. See here, especially the second paragraph:

   notes.rewriteRef
       When copying notes during a rewrite, specifies the (fully
       qualified) ref whose notes should be copied. May be a glob, in
       which case notes in all matching refs will be copied. You may also
       specify this configuration several times.
       Does not have a default value; you must configure this variable to
       enable note rewriting.
       Can be overridden with the GIT_NOTES_REWRITE_REF environment
       variable.
Gábor
Previous: Norbert Kiesel
Message 2 of 2 in “[Bug?] git notes are not copied during rebase”
  1. Norbert KieselNov 16, 2016
  2. SZEDER GáborNov 17, 2016

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.