X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-applypatch.sh;h=12cab1e0d4ceb1f1c58c418f96358b252713bf58;hb=a7cfb4a43fce841cd673057cf4137f85e6f804eb;hp=214f5c31a6020ae63b4fee3c245156717d536252;hpb=6cf6193b458a5791dba993a81d3bb77f4dc030ac;p=git.git diff --git a/git-applypatch.sh b/git-applypatch.sh index 214f5c31..12cab1e0 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 ##