X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git.sh;h=94940aea28a45294126b9065e09017ae302e7a51;hb=6b17c674aa517c4b22cd88809fcf1532b8204fbf;hp=1c73ca1c20be9861cce22ea4ca99f60d9e3d9173;hpb=d9c74a808e988146edd1f4ae463285554cb024bd;p=git.git diff --git a/git.sh b/git.sh index 1c73ca1c..94940aea 100755 --- a/git.sh +++ b/git.sh @@ -11,7 +11,18 @@ case "$#" in echo "git version @@GIT_VERSION@@" exit 0 ;; esac - test -x "$path/git-$cmd" && exec "$path/git-$cmd" "$@" ;; + + test -x "$path/git-$cmd" && exec "$path/git-$cmd" "$@" + + case '@@X@@' in + '') + ;; + *) + test -x "$path/git-$cmd@@X@@" && + exec "$path/git-$cmd@@X@@" "$@" + ;; + esac + ;; esac echo "Usage: git COMMAND [OPTIONS] [TARGET]"