git-applypatch: Usage string clean-up, emit usage string at incorrect invocation
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
cf1fe88ce1
commit
6cf6193b45
@ -10,8 +10,12 @@
|
|||||||
## $3 - "info" file with Author, email and subject
|
## $3 - "info" file with Author, email and subject
|
||||||
## $4 - optional file containing signoff to add
|
## $4 - optional file containing signoff to add
|
||||||
##
|
##
|
||||||
|
|
||||||
|
USAGE='<msg> <patch> <info> [<signoff>]'
|
||||||
. git-sh-setup
|
. git-sh-setup
|
||||||
|
|
||||||
|
[[ "$#" = "3" || "$#" = "4" ]] || usage
|
||||||
|
|
||||||
final=.dotest/final-commit
|
final=.dotest/final-commit
|
||||||
##
|
##
|
||||||
## If this file exists, we ask before applying
|
## If this file exists, we ask before applying
|
||||||
|
Reference in New Issue
Block a user