aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-09 11:01:02 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-07-09 21:19:22 -0400
commit5922446794ee1bfcd4bede739467211cd46aa005 (patch)
tree89221b8cdcc3d5143efa544ae5a1d1d88c806bac
parent0a84b3d94ff8c29a5d3b738d4f08d1344305b619 (diff)
downloadgit-5922446794ee1bfcd4bede739467211cd46aa005.tar.gz
git-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 64ced9d80..708616247 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