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

[PATCH 2/2 (for GIT-GUI)] git-gui: MERGE_RR lives in .git/ directly with newer Git versions

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 12, 2008, 14:56 UTC
Message-ID
<alpine.DEB.1.00.0807121556480.8950@racer>
In-Reply-To
<alpine.DEB.1.00.0807121553120.8950@racer>

Now that MERGE_RR was moved out of .git/rr-cache/, we have to delete it somewhere else. Just in case somebody wants to use a newer git-gui with an older Git, the file .git/rr-cache/MERGE_RR is removed, too (if it exists).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 git-gui/lib/merge.tcl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/merge.tcl b/lib/merge.tcl
index cc26b07..5c01875 100644
--- a/lib/merge.tcl
+++ b/lib/merge.tcl
@@ -257,6 +257,7 @@ proc _reset_wait {fd} {
 
 		catch {file delete [gitdir MERGE_HEAD]}
 		catch {file delete [gitdir rr-cache MERGE_RR]}
+		catch {file delete [gitdir MERGE_RR]}
 		catch {file delete [gitdir SQUASH_MSG]}
 		catch {file delete [gitdir MERGE_MSG]}
 		catch {file delete [gitdir GITGUI_MSG]}
-- 
1.5.6.2.511.ge432a
Previous: Johannes SchindelinNext: Shawn O. Pearce
Message 3 of 5 in “git-new-workdir should not share .git/rr-cache/MERGE_RR”
  1. Kalle Olavi NiemitaloJul 12, 2008
  2. 1/2 Move MERGE_RR from .git/rr-cache/ into .git/Johannes Schindelin, Jul 12, 2008
  3. 2/2 git-gui: MERGE_RR lives in .git/ directly with newer Git versionsJohannes Schindelin, Jul 12, 2008
  4. Shawn O. PearceJul 13, 2008
  5. Junio C HamanoJul 13, 2008

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.