diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-13 18:19:12 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-14 02:53:45 -0800 |
commit | 5073eb04d6f0e8ac2578140b9231817e2afefe50 (patch) | |
tree | 5fab66e2b466d4309424bfa6f6e93df5c46f6970 /git-applypatch.sh | |
parent | 9678faaaffd3eba057bf1cb643399c5a5365a611 (diff) | |
download | git-5073eb04d6f0e8ac2578140b9231817e2afefe50.tar.gz |
applypatch: no need to do non-portable [[ ... ]]
... when old, proven, case would do.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-applypatch.sh')
-rwxr-xr-x | git-applypatch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-applypatch.sh b/git-applypatch.sh index 214f5c31a6..e8ba34a0ad 100755 --- a/git-applypatch.sh +++ b/git-applypatch.sh @@ -14,7 +14,7 @@ USAGE='<msg> <patch> <info> [<signoff>]' . git-sh-setup -[[ "$#" = "3" || "$#" = "4" ]] || usage +case "$#" in 3|4) usage ;; esac final=.dotest/final-commit ## |