Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Don't offer my special Tools/Migrate hack unless in multicommit
author
Shawn O. Pearce
<spearce@spearce.org>
Wed, 18 Jul 2007 13:37:27 +0000
(09:37 -0400)
committer
Shawn O. Pearce
<spearce@spearce.org>
Thu, 19 Jul 2007 03:52:18 +0000
(23:52 -0400)
Users shouldn't see this menu option if they startup a browser or
blame from the command line, especially if they are doing so on a
bare repository.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ff749c1
)
diff --git
a/git-gui.sh
b/git-gui.sh
index 2473488790af6ea89139b05dc59b4c9901c0122d..7b6a96e4f23d379905d2fc37adeaa07249c1b674 100755
(executable)
--- a/
git-gui.sh
+++ b/
git-gui.sh
@@
-1888,7
+1888,9
@@
if {[is_MacOSX]} {
# -- Tools Menu
#
- if {[is_Cygwin] && [file exists /usr/local/miga/lib/gui-miga]} {
+ if {[is_Cygwin]
+ && [is_enabled multicommit]
+ && [file exists /usr/local/miga/lib/gui-miga]} {
proc do_miga {} {
if {![lock_index update]} return
set cmd [list sh --login -c "/usr/local/miga/lib/gui-miga \"[pwd]\""]