X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git.sh;h=7400c162578c5e18a2a406b09263394e485e0990;hb=a24e658649170c99fdcb4aaa41545679ad02f755;hp=dc383eddea5bf96a1208872299a4c2370a2f7360;hpb=0842acff57f386ba749c3ea6b5e034771f074f6b;p=git.git diff --git a/git.sh b/git.sh index dc383edd..7400c162 100755 --- a/git.sh +++ b/git.sh @@ -11,7 +11,17 @@ 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]"