summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-09 11:01:02 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-09 21:19:22 -0400
commit5922446794ee1bfcd4bede739467211cd46aa005 (patch)
tree89221b8cdcc3d5143efa544ae5a1d1d88c806bac
parentMerge branch 'maint' (diff)
downloadtgif-5922446794ee1bfcd4bede739467211cd46aa005.tar.xz
git-gui: Paper bag fix for Cygwin shortcut creation
We cannot execute the git directory, it is not a valid Tcl command name. Instead we just want to pass it as an argument to our sq proc. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--lib/shortcut.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index 64ced9d801..7086162476 100644
--- a/lib/shortcut.tcl
+++ b/lib/shortcut.tcl
@@ -66,7 +66,7 @@ proc do_cygwin_shortcut {} {
puts $fd "@ECHO Entering [reponame]"
puts $fd "@ECHO Starting git-gui... please wait..."
puts -nonewline $fd "@\"$sh\" --login -c \""
- puts -nonewline $fd "GIT_DIR=[sq [$gd]]"
+ puts -nonewline $fd "GIT_DIR=[sq $gd]"
puts -nonewline $fd " [sq $me]"
puts $fd "&\""
close $fd