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

Re: Notes do not follow rebase

From
Johan Herland <johan@herland.net>
Date
Apr 8, 2015, 22:56 UTC
Message-ID
<CALKQrgcvofZJNq5yQV0sohfEpVG-S=Q_26mp=vFKryrmiY9HWw@mail.gmail.com>
In-Reply-To
<5525763B.3020300@ubuntu.com>
On Wed, Apr 8, 2015 at 8:40 PM, Phillip Susi <psusi@ubuntu.com> wrote:
> After doing a rebase -i to fix up some older commits, I noticed that
> notes I had associated with commits failed to follow the commit across
> the rebase, so the notes are now orphaned and will be pruned.
> Shouldn't notes be copied to the new commit during an ammend/rebase?

It depends. Which notes do you want copied? (i.e. from which notes ref?) Please have a look at the notes.rewriteRef config option (documented in the git-config and git-notes manual pages)

...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Phillip Susi
Message 2 of 2 in “Notes do not follow rebase”
  1. Phillip SusiApr 8, 2015
  2. Johan HerlandApr 8, 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.