Skip to content

Commit f049e09

Browse files
dschospearce
authored andcommitted
git-gui: MERGE_RR lives in .git/ directly with newer Git versions
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> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent af89494 commit f049e09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/merge.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ proc _reset_wait {fd} {
257257

258258
catch {file delete [gitdir MERGE_HEAD]}
259259
catch {file delete [gitdir rr-cache MERGE_RR]}
260+
catch {file delete [gitdir MERGE_RR]}
260261
catch {file delete [gitdir SQUASH_MSG]}
261262
catch {file delete [gitdir MERGE_MSG]}
262263
catch {file delete [gitdir GITGUI_MSG]}

0 commit comments

Comments
 (0)