diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-14 17:30:03 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-14 17:30:03 -0800 |
commit | 1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0 (patch) | |
tree | f65b929c006c31043213152752ea0c80bf08b9e5 /git-format-patch.sh | |
parent | GIT 0.99.9m aka 1.0rc5 (diff) | |
parent | git rebase loses author name/email if given bad email address (diff) | |
download | tgif-1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0.tar.xz |
GIT 0.99.9n aka 1.0rc6
Oh, I hate to do this but I ended up merging big usage string
cleanups from Fredrik, git-am enhancements that made a lot of
sense for non mbox users from HPA, and rebase changes (done
independently by me and Lukas) among other things, so git is
still in perpetual state of 1.0rc. 1.0 will probably be next
Wednesday, but who knows.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-x | git-format-patch.sh | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh index 921feee59c..01508e3b04 100755 --- a/git-format-patch.sh +++ b/git-format-patch.sh @@ -3,19 +3,8 @@ # Copyright (c) 2005 Junio C Hamano # -. git-sh-setup - -# Force diff to run in C locale. -LANG=C LC_ALL=C -export LANG LC_ALL - -usage () { - echo >&2 "usage: $0"' [-n] [-o dir | --stdout] [--keep-subject] [--mbox] - [--check] [--signoff] [-<diff options>...] - [--help] - ( from..to ... | upstream [ our-head ] ) - -Prepare each commit with its patch since our-head forked from upstream, +USAGE='[-n | -k] [-o <dir> | --stdout] [--signoff] [--check] [--mbox] [--diff-options] <upstream> [<our-head>]' +LONG_USAGE='Prepare each commit with its patch since our-head forked from upstream, one file per patch, for e-mail submission. Each output file is numbered sequentially from 1, and uses the first line of the commit message (massaged for pathname safety) as the filename. @@ -28,10 +17,12 @@ as "[PATCH N/M] Subject", unless you have only one patch. When --mbox is specified, the output is formatted to resemble UNIX mailbox format, and can be concatenated together for processing -with applymbox. -' - exit 1 -} +with applymbox.' +. git-sh-setup + +# Force diff to run in C locale. +LANG=C LC_ALL=C +export LANG LC_ALL diff_opts= LF=' |