projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9678faa
)
applypatch: no need to do non-portable [[ ... ]]
author
Junio C Hamano
<junkio@cox.net>
Wed, 14 Dec 2005 02:19:12 +0000
(18:19 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 14 Dec 2005 10:53:45 +0000
(
02:53
-0800)
... when old, proven, case would do.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-applypatch.sh
patch
|
blob
|
history
diff --git
a/git-applypatch.sh
b/git-applypatch.sh
index
214f5c3
..
e8ba34a
100755
(executable)
--- 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
##