Browse Source

For the benefit of Cygwin, test for git-cmd.exe

maint
Peter Anvin 20 years ago
parent
commit
918e723204
  1. 3
      git.sh

3
git.sh

@ -11,7 +11,10 @@ case "$#" in @@ -11,7 +11,10 @@ case "$#" in
echo "git version @@GIT_VERSION@@"
exit 0 ;;
esac

test -x $path/git-$cmd && exec $path/git-$cmd "$@" ;;

# In case we're running on Cygwin...
test -x $path/git-$cmd.exe && exec $path/git-$cmd.exe "$@" ;;
esac


Loading…
Cancel
Save