summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a84b3d)
raw | patch | inline | side by side (parent: 0a84b3d)
author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 15:01:02 +0000 (11:01 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 10 Jul 2007 01:19:22 +0000 (21:19 -0400) |
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>
name. Instead we just want to pass it as an argument to our sq
proc.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/shortcut.tcl | patch | blob | history |
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index 64ced9d801d879a7c8bde1340834b7296dff82a2..7086162476089f31368caf3b303ef03153f8a125 100644 (file)
--- a/lib/shortcut.tcl
+++ b/lib/shortcut.tcl
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