diff options
author | Peter Anvin <hpa@tazenda.sc.orionmulti.com> | 2005-09-28 16:56:08 -0700 |
---|---|---|
committer | Peter Anvin <hpa@tazenda.sc.orionmulti.com> | 2005-09-28 16:56:08 -0700 |
commit | 918e723204651252e5a823481cc8450e498a45f9 (patch) | |
tree | 6920cb8dd1f8254865d2f47b96efae65a0009de5 | |
parent | 296fdc53bdd75147121aa290b4de0eeb3b4e7074 (diff) | |
download | git-918e723204651252e5a823481cc8450e498a45f9.tar.gz git-918e723204651252e5a823481cc8450e498a45f9.tar.xz |
For the benefit of Cygwin, test for git-cmd.exe
-rwxr-xr-x | git.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |