diff options
author | freku045@student.liu.se <freku045@student.liu.se> | 2005-12-13 23:30:31 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-14 02:53:44 -0800 |
commit | 6cf6193b458a5791dba993a81d3bb77f4dc030ac (patch) | |
tree | 69b49a708a18bab73a64b34c36418ce5cc47417d /git-applypatch.sh | |
parent | cf1fe88ce1fb75db14549e9d57d88c2ad88caf9d (diff) | |
download | git-6cf6193b458a5791dba993a81d3bb77f4dc030ac.tar.gz |
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>
Diffstat (limited to 'git-applypatch.sh')
-rwxr-xr-x | git-applypatch.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git-applypatch.sh b/git-applypatch.sh index a112e1a504..214f5c31a6 100755 --- 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 |