From: Junio C Hamano Date: Wed, 14 Dec 2005 02:19:12 +0000 (-0800) Subject: applypatch: no need to do non-portable [[ ... ]] X-Git-Tag: v0.99.9n^2~7^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5073eb04d6f0e8ac2578140b9231817e2afefe50;p=git.git applypatch: no need to do non-portable [[ ... ]] ... when old, proven, case would do. Signed-off-by: Junio C Hamano --- diff --git a/git-applypatch.sh b/git-applypatch.sh index 214f5c31a..e8ba34a0a 100755 --- a/git-applypatch.sh +++ b/git-applypatch.sh @@ -14,7 +14,7 @@ USAGE=' []' . git-sh-setup -[[ "$#" = "3" || "$#" = "4" ]] || usage +case "$#" in 3|4) usage ;; esac final=.dotest/final-commit ##