summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-21 00:45:26 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-01-21 07:54:18 (GMT)
commitc25623321d52642fe8fb80c64904a53363f91b12 (patch)
tree457b121a479f8164e87f61cd7bca8783b2492af3
parent4d583c86ec52f8b2937a0b9dc02667b54c4a28a2 (diff)
downloadgit-c25623321d52642fe8fb80c64904a53363f91b12.zip
git-c25623321d52642fe8fb80c64904a53363f91b12.tar.gz
git-c25623321d52642fe8fb80c64904a53363f91b12.tar.bz2
git-gui: Hide the ugly bash command line from the windows desktop icon.
The user really doesn't need to see the technical details of how we launch git-gui from within their "desktop icon". Instead we should hide the command line from being displayed when the icon launches by putting @ at the start of the line. If they really need to see the command we are running they can edit the batch file. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-xgit-gui2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui b/git-gui
index 11ba41f..b79eb45 100755
--- a/git-gui
+++ b/git-gui
@@ -2754,7 +2754,7 @@ proc do_windows_shortcut {} {
regsub -all ' $me "'\\''" me
regsub -all ' $gd "'\\''" gd
puts $fd "@ECHO Starting git-gui... Please wait..."
- puts -nonewline $fd "\"$sh\" --login -c \""
+ puts -nonewline $fd "@\"$sh\" --login -c \""
puts -nonewline $fd "GIT_DIR='$gd'"
puts -nonewline $fd " '$me'"
puts $fd "&\""