summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-applypatch.sh2
1 files changed, 1 insertions, 1 deletions
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='<msg> <patch> <info> [<signoff>]'
. git-sh-setup
-[[ "$#" = "3" || "$#" = "4" ]] || usage
+case "$#" in 3|4) usage ;; esac
final=.dotest/final-commit
##