mirror of
https://github.com/git/git.git
synced 2024-11-06 17:23:00 +01:00
For the benefit of Cygwin, test for git-cmd.exe
This commit is contained in:
parent
296fdc53bd
commit
918e723204
1 changed files with 3 additions and 0 deletions
3
git.sh
3
git.sh
|
@ -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…
Reference in a new issue