author | Stephen Boyd <bebarino@gmail.com> | |
Sun, 7 Mar 2010 22:46:47 +0000 (14:46 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Mar 2010 23:55:41 +0000 (15:55 -0800) | ||
commit | c42600346bb6c3427df7ea1c5a33d723ec02d731 | |
tree | f0780075f41a3a2943da114ed119420e8e0d50c2 | tree | snapshot |
parent | ca9e0a1b8738959f5bd5a17ec81fa3bd1a326c9d | commit | diff |
format-patch: add --no-cc, --no-to, and --no-add-headers
These new options allow users to override their config settings for
format.cc, format.to and format.headers respectively. These options
only make git ignore the config settings and any previous command line
options, so you'll still have to add more command line options to add
extra headers. For example,
$ cat .git/config
[format]
to = Someone <someone@out.there>
$ git format-patch -1 --no-to --to="Someone Else <else@out.there>"
would format a patch addressed to "Someone Else" and not "Someone".
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
These new options allow users to override their config settings for
format.cc, format.to and format.headers respectively. These options
only make git ignore the config settings and any previous command line
options, so you'll still have to add more command line options to add
extra headers. For example,
$ cat .git/config
[format]
to = Someone <someone@out.there>
$ git format-patch -1 --no-to --to="Someone Else <else@out.there>"
would format a patch addressed to "Someone Else" and not "Someone".
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c | diff | blob | history | |
t/t4014-format-patch.sh | diff | blob | history |