X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-applypatch.sh;fp=git-applypatch.sh;h=e8ba34a0ad4a466083c8462cc038de9d8ad6a4ab;hb=5073eb04d6f0e8ac2578140b9231817e2afefe50;hp=214f5c31a6020ae63b4fee3c245156717d536252;hpb=9678faaaffd3eba057bf1cb643399c5a5365a611;p=git.git diff --git a/git-applypatch.sh b/git-applypatch.sh index 214f5c31..e8ba34a0 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 ##