For the benefit of Cygwin, test for git-cmd.exe
This commit is contained in:
3
git.sh
3
git.sh
@ -11,7 +11,10 @@ case "$#" in
|
|||||||
echo "git version @@GIT_VERSION@@"
|
echo "git version @@GIT_VERSION@@"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
test -x $path/git-$cmd && exec $path/git-$cmd "$@" ;;
|
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 "$@" ;;
|
test -x $path/git-$cmd.exe && exec $path/git-$cmd.exe "$@" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user