projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf1fe88
)
git-applypatch: Usage string clean-up, emit usage string at incorrect invocation
author
freku045@student.liu.se
<freku045@student.liu.se>
Tue, 13 Dec 2005 22:30:31 +0000
(23:30 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 14 Dec 2005 10:53:44 +0000
(
02:53
-0800)
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
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
a112e1a
..
214f5c3
100755
(executable)
--- a/
git-applypatch.sh
+++ b/
git-applypatch.sh
@@
-10,8
+10,12
@@
## $3 - "info" file with Author, email and subject
## $4 - optional file containing signoff to add
##
+
+USAGE='<msg> <patch> <info> [<signoff>]'
. git-sh-setup
+[[ "$#" = "3" || "$#" = "4" ]] || usage
+
final=.dotest/final-commit
##
## If this file exists, we ask before applying