[PATCH 9/25] git-format-patch: Use the 'die'-function where appropriate.
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
---
git-format-patch.sh | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
78267845f0e0d20f23448692bf3ff967faf5fea7
diff --git a/git-format-patch.sh b/git-format-patch.sh
index 1eebe85..4ecbf49 100755
--- a/git-format-patch.sh
+++ b/git-format-patch.sh
@@ -10,7 +10,7 @@ LANG=C LC_ALL=C
export LANG LC_ALL
usage () {
- echo >&2 "usage: $0"' [-n] [-o dir | --stdout] [--keep-subject] [--mbox]
+ die "usage: $0"' [-n] [-o dir | --stdout] [--keep-subject] [--mbox]
[--check] [--signoff] [-<diff options>...]
[--help]
( from..to ... | upstream [ our-head ] )
@@ -30,7 +30,6 @@ When --mbox is specified, the output is
UNIX mailbox format, and can be concatenated together for processing
with applymbox.
'
- exit 1
}
diff_opts=
--
0.99.9.GIT