@matheusbsbs / matheus-bagliano / commits / 5073eb04d6
Fork 0

applypatch: no need to do non-portable [[ ... ]]

... when old, proven, case would do. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 13, 2005 at 18:19 UTC 5073eb04d6f0e8ac2578140b9231817e2afefe50
1 file changed +1 -1
git-applypatch.sh
+1 -1
@@ -14,7 +14,7 @@
14 USAGE='<msg> <patch> <info> [<signoff>]'
15 . git-sh-setup
16
17 -[[ "$#" = "3" || "$#" = "4" ]] || usage
17 +case "$#" in 3|4) usage ;; esac
18
19 final=.dotest/final-commit
20 ##