public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* What's the recommendation for forgetting all rerere's records?
@ 2023-12-06 22:37 Sean Allred
  2023-12-08 23:19 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Allred @ 2023-12-06 22:37 UTC (permalink / raw)
  To: git

Hi all,

When outside the context of a conflict (no rebase/merge in progress),
what's the intended workflow to clear out the contents of
$GIT_DIR/rr-cache?

We have developers who'd like to discard their faulty resolutions after
completing a rebase gone awry (but not aborted). There doesn't seem to
be a recommendation in git-rerere(1) for how to deal with this
situation. (git-rerere-forget seems to only work in the context of an
active conflict -- and is documented as such.)

I'm wary of recommending `rm -rf "$(git rev-parse --git-dir)/rr-cache"`
-- it's hard to describe this as anything but hacky when the rest of the
experience is handled in porcelain.

Thanks!

--
Sean Allred

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

end of thread, other threads:[~2024-02-10 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06 22:37 What's the recommendation for forgetting all rerere's records? Sean Allred
2023-12-08 23:19 ` Junio C Hamano
2023-12-15 12:21   ` Sean Allred
2023-12-15 16:30     ` Junio C Hamano
     [not found]       ` <35f24a01d15ce28932bb6be098d6a164a49cc542008f75673cd6221a9b24b578@mu.id>
2024-01-03  8:30         ` Sean Allred
2024-01-03  9:27           ` Sean Allred
2024-02-10 17:18             ` Sean Allred

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