applypatch: no need to do non-portable [[ ... ]]
[git.git] / git-applypatch.sh
index 214f5c3..e8ba34a 100755 (executable)
@@ -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
 ##