Skip to content

format-patch and send-email ignoring config settings

Stephen Boyd git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4send-email: actually add bcc headersgit-send-email.perl t/t9001-send-email.sh+7 -11 reply
2/4format-patch: use a string_list for headersbuiltin-log.c+31 -393 replies
3/4format-patch: add --no-cc, --no-to, and --no-add-headersbuiltin-log.c t/t4014-format-patch.sh+56 -70 replies
4/4send-email: add --no-cc, --no-to, and --no-bccgit-send-email.perl t/t9001-send-email.sh+48 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] format-patch and send-email ignoring config settings

Ok this does the --no-* thing to allow the user to say "I want to ignore the config settings this time". I couldn't think of a better way to implement appending and overriding without having to say --no-to and --to in the same command line invocation. Seems to work ok though.

My perl is pretty bad so please check send-email.

You get an ancient bugfix for free too. Enjoy.

Stephen Boyd (4):
send-email: actually add bcc headers
format-patch: use a string_list for headers
format-patch: add --no-cc, --no-to, and --no-add-headers
send-email: add --no-cc, --no-to, and --no-bcc

 builtin-log.c           |   91 ++++++++++++++++++++++++----------------------
 git-send-email.perl     |   19 ++++++++--
 t/t4014-format-patch.sh |   38 +++++++++++++++++++
 t/t9001-send-email.sh   |   39 ++++++++++++++++++++
 4 files changed, 139 insertions(+), 48 deletions(-)