From 5073eb04d6f0e8ac2578140b9231817e2afefe50 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 13 Dec 2005 18:19:12 -0800 Subject: 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 214f5c3..e8ba34a 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 ## -- cgit v0.10.2-6-g49f6