aboutsummaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-07-15 00:08:02 -0700
committerJunio C Hamano <gitster@pobox.com>2008-07-15 00:08:02 -0700
commit547905f8cd2a04b3e1117f00025b60f81aa60f47 (patch)
tree9e9421e597a9caecc6f16c3afd6a1b77abacabb9 /git-gui
parentebcffb1d44643bab69671abdf79209489e64dbef (diff)
parentf049e0944d32715ee8893d290d1c52888216fbe4 (diff)
downloadgit-547905f8cd2a04b3e1117f00025b60f81aa60f47.tar.gz
git-547905f8cd2a04b3e1117f00025b60f81aa60f47.tar.xz
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
Diffstat (limited to 'git-gui')
-rwxr-xr-xgit-gui/git-gui.sh10
-rw-r--r--git-gui/lib/merge.tcl1
2 files changed, 8 insertions, 3 deletions
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index d89f156fd..940677cbd 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -1995,9 +1995,13 @@ if {[is_enabled multicommit]} {
}
}
-.mbar.repository add command -label [mc Quit] \
- -command do_quit \
- -accelerator $M1T-Q
+if {[is_MacOSX]} {
+ proc ::tk::mac::Quit {args} { do_quit }
+} else {
+ .mbar.repository add command -label [mc Quit] \
+ -command do_quit \
+ -accelerator $M1T-Q
+}
# -- Edit Menu
#
diff --git a/git-gui/lib/merge.tcl b/git-gui/lib/merge.tcl
index cc26b0780..5c01875b0 100644
--- a/git-gui/lib/merge.tcl
+++ b/git-gui/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]}