]> asedeno.scripts.mit.edu Git - git.git/blobdiff - lib/shortcut.tcl
git-gui: show unstaged symlinks in diff viewer
[git.git] / lib / shortcut.tcl
index 7086162476089f31368caf3b303ef03153f8a125..c36be2f3cd29b4b0426c312536dca6f697593305 100644 (file)
@@ -54,7 +54,7 @@ proc do_cygwin_shortcut {} {
                                set sh [exec cygpath \
                                        --windows \
                                        --absolute \
-                                       /bin/sh]
+                                       /bin/sh.exe]
                                set me [exec cygpath \
                                        --unix \
                                        --absolute \
@@ -68,7 +68,7 @@ proc do_cygwin_shortcut {} {
                                puts -nonewline $fd "@\"$sh\" --login -c \""
                                puts -nonewline $fd "GIT_DIR=[sq $gd]"
                                puts -nonewline $fd " [sq $me]"
-                               puts $fd "&\""
+                               puts $fd " &\""
                                close $fd
                        } err]} {
                        error_popup "Cannot write script:\n\n$err"