diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-10 16:03:43 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-10 16:03:43 -0700 |
commit | b12bbd5986e1fae4120d7a415c1271c0273cad7e (patch) | |
tree | 4d00a9874001944444ade975ba9a54e777bbec5c /git.sh | |
parent | cc1621e2a02ed2a408571ed6f6ba84de2166e334 (diff) | |
parent | 18e410f1eaaf8e3e82dca9f124782b099ead7612 (diff) | |
download | git-b12bbd5986e1fae4120d7a415c1271c0273cad7e.tar.gz git-b12bbd5986e1fae4120d7a415c1271c0273cad7e.tar.xz |
Merge branch 'fixes'
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.sh')
-rwxr-xr-x | git.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ #!/bin/sh cmd= -path=$(dirname $0) +path=$(dirname "$0") case "$#" in 0) ;; *) cmd="$1" @@ -12,13 +12,14 @@ case "$#" in 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@@ "$@" + test -x "$path/git-$cmd@@X@@" && + exec "$path/git-$cmd@@X@@" "$@" ;; esac ;; |