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

Re: Bug Report: notes disassociated after history edits

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 23, 2019, 16:58 UTC
Message-ID
<xmqq5zmnn7j3.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190823055932.GA10806@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> ...
> 	  --commit-filter '
> 		commit=$(git commit-tree "$@")
> 		git notes copy $GIT_COMMIT $commit
> 		echo $commit
> 	  '

Thanks. I was writing the same "git notes copy $this $that" based response, but TIL we had --stdin to feed the input in bulk ;-)

Previous: Jeff King
Message 3 of 3 in “Bug Report: notes disassociated after history edits”
  1. Christopher Sean MorrisonAug 22, 2019
  2. Jeff KingAug 23, 2019
  3. Junio C HamanoAug 23, 2019

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.