git-gui: Work around odd cygpath bug on Windows.
[gitweb.git] / git-gui
diff --git a/git-gui b/git-gui
index ade64dcd1243123104164c42f2bd26555993c2b4..c5120cc1ac7ca2f3ae44dc06c403e7e6497bc689 100755 (executable)
--- a/git-gui
+++ b/git-gui
@@ -2742,7 +2742,6 @@ proc do_windows_shortcut {} {
                                set sh [exec cygpath \
                                        --windows \
                                        --absolute \
-                                       --long-name \
                                        /bin/sh]
                                set me [exec cygpath \
                                        --unix \
@@ -2754,6 +2753,7 @@ proc do_windows_shortcut {} {
                                        $gitdir]
                                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 "GIT_DIR='$gd'"
                                puts -nonewline $fd " '$me'"