Git development
 help / color / mirror / Atom feed
* git-replay/git-history lose notes
@ 2026-08-04 20:06 D. Ben Knoble
  2026-08-05  6:27 ` Patrick Steinhardt
  2026-08-07  6:53 ` Elijah Newren
  0 siblings, 2 replies; 9+ messages in thread
From: D. Ben Knoble @ 2026-08-04 20:06 UTC (permalink / raw)
  To: Git; +Cc: Patrick Steinhardt, Elijah Newren

Hi all,

I don't think this has been reported or discussed yet, though my
apologies if my search skills just didn't find it.

It looks like git-replay and git-history will drop notes (or rather,
not carry them over) when rewriting history. I've seen this both with
"git replay --onto=… …" and "git history fixup" recently, though I
suspect it affects all the modes.

Fortunately when I check range-diffs before pushing out new versions,
I notice notes have disappeared and can "git notes copy @{1}" or
similar for a note at the tip. Recovery for the intermediate commits
is a little more… involved… as I'm sure you can imagine.

Are notes out of scope for replay and history, or is this just a
"nobody's gotten around to it yet"?

-- 
D. Ben Knoble

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-08-07 15:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 20:06 git-replay/git-history lose notes D. Ben Knoble
2026-08-05  6:27 ` Patrick Steinhardt
2026-08-05 11:39   ` D. Ben Knoble
2026-08-05 13:00     ` Phillip Wood
2026-08-05 13:05       ` D. Ben Knoble
2026-08-05 13:04   ` Junio C Hamano
2026-08-07  6:53 ` Elijah Newren
2026-08-07  9:49   ` erik88
2026-08-07 15:16     ` Elijah Newren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox