git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Amending a merge commit doesn't update the rerere cache
@ 2010-06-14 23:04 Jay Soffian
  2010-06-15  6:21 ` [PATCH] rerere.txt: Document forget subcommand Michael J Gruber
  2010-06-15  6:23 ` Amending a merge commit doesn't update the rerere cache Johannes Sixt
  0 siblings, 2 replies; 9+ messages in thread
From: Jay Soffian @ 2010-06-14 23:04 UTC (permalink / raw)
  To: git

Subject says it all, but I'll elaborate.

During the course of testing a merge, I'll sometimes realize there was
a mistake and I'll amend the merge commit. Sadly this doesn't update
the rerere cache. For now I've been doing this:

   mv .git/rr-cache .git/rr-cache.saved &&
   git rerere-train HEAD -1 &&
   rsync -av .git/rr-cache/ .git/rr-cache.saved &&
   rm -rf .git/rr-cache &&
   mv .git/rr-cache.saved .git/rr-cache

Which is quite hackish. I think amending a merge commit should
probably update the rr-cache, but I'm not sure how best to fix this.

Thoughts?

j.

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

end of thread, other threads:[~2010-07-05 13:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-14 23:04 Amending a merge commit doesn't update the rerere cache Jay Soffian
2010-06-15  6:21 ` [PATCH] rerere.txt: Document forget subcommand Michael J Gruber
2010-06-15 16:37   ` Junio C Hamano
2010-06-15 16:45     ` Jay Soffian
2010-06-16  7:42     ` Michael J Gruber
2010-06-16 17:33       ` Junio C Hamano
2010-07-05 13:15         ` [PATCHv2] " Michael J Gruber
2010-06-15  6:23 ` Amending a merge commit doesn't update the rerere cache Johannes Sixt
2010-06-15 13:08   ` Jay Soffian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).