Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git.sh b/git.sh
index b67a1647e2..ea710aafc1 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