From 918e723204651252e5a823481cc8450e498a45f9 Mon Sep 17 00:00:00 2001 From: Peter Anvin Date: Wed, 28 Sep 2005 16:56:08 -0700 Subject: [PATCH] For the benefit of Cygwin, test for git-cmd.exe --- git.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git.sh b/git.sh index b67a1647e..ea710aafc 100755 --- a/git.sh +++ b/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 -- 2.26.2