From: freku045@student.liu.se Date: Tue, 13 Dec 2005 22:30:31 GMT Subject: [PATCH 5/11] git-applypatch: Usage string clean-up, emit usage string at incorrect invocation Message-ID: <11345130311492-git-send-email-freku045@student.liu.se> In-Reply-To: <11345130302438-git-send-email-freku045@student.liu.se> Signed-off-by: Fredrik Kuivinen --- git-applypatch.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 4aecb38bdf7d1f22bec895d0b3a936ded39bef4d diff --git a/git-applypatch.sh b/git-applypatch.sh index a112e1a..214f5c3 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=' []' . git-sh-setup +[[ "$#" = "3" || "$#" = "4" ]] || usage + final=.dotest/final-commit ## ## If this file exists, we ask before applying -- 0.99.9.GIT