Skip to content

Commit 547905f

Browse files
committed
Merge git://repo.or.cz/git-gui
* git://repo.or.cz/git-gui: git-gui: MERGE_RR lives in .git/ directly with newer Git versions git-gui: Exit shortcut in MacOSX repaired
2 parents ebcffb1 + f049e09 commit 547905f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

git-gui/git-gui.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,9 +1995,13 @@ if {[is_enabled multicommit]} {
19951995
}
19961996
}
19971997
1998-
.mbar.repository add command -label [mc Quit] \
1999-
-command do_quit \
2000-
-accelerator $M1T-Q
1998+
if {[is_MacOSX]} {
1999+
proc ::tk::mac::Quit {args} { do_quit }
2000+
} else {
2001+
.mbar.repository add command -label [mc Quit] \
2002+
-command do_quit \
2003+
-accelerator $M1T-Q
2004+
}
20012005
20022006
# -- Edit Menu
20032007
#

git-gui/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)