summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-09 15:01:02 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-10 01:19:22 (GMT)
commit5922446794ee1bfcd4bede739467211cd46aa005 (patch)
tree89221b8cdcc3d5143efa544ae5a1d1d88c806bac /lib
parent0a84b3d94ff8c29a5d3b738d4f08d1344305b619 (diff)
downloadgit-5922446794ee1bfcd4bede739467211cd46aa005.zip
git-5922446794ee1bfcd4bede739467211cd46aa005.tar.gz
git-5922446794ee1bfcd4bede739467211cd46aa005.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/shortcut.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index 64ced9d..7086162 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