@matheusbsbs / matheus-bagliano / commits / c25623321d
Fork 0

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>

Shawn O. Pearce committed Jan 20, 2007 at 19:45 UTC c25623321d52642fe8fb80c64904a53363f91b12
1 file changed +1 -1
git-gui
+1 -1
@@ -2754,7 +2754,7 @@ proc do_windows_shortcut {} {
2754 regsub -all ' $me "'\\''" me
2755 regsub -all ' $gd "'\\''" gd
2756 puts $fd "@ECHO Starting git-gui... Please wait..."
2757 - puts -nonewline $fd "\"$sh\" --login -c \""
2757 + puts -nonewline $fd "@\"$sh\" --login -c \""
2758 puts -nonewline $fd "GIT_DIR='$gd'"
2759 puts -nonewline $fd " '$me'"
2760 puts $fd "&\""