]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
send-email: --suppress-cc improvements
authorJay Soffian <jaysoffian@gmail.com>
Sun, 15 Feb 2009 04:32:15 +0000 (23:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Feb 2009 05:48:38 +0000 (21:48 -0800)
commit3531e2703d8e441bfb4a6765459317b3db3f224c
tree314658095ed5208f11fd851835b98c47af67ce61
parent5012699d9840fe34fe0838ea0d529c2f32f76b82
send-email: --suppress-cc improvements

Since 6564828 (git-send-email: Generalize auto-cc recipient
mechanism., 2007-12-25) we can suppress automatic Cc generation
separately for each of the possible address sources.  However,
--suppress-cc=sob suppressed both SOB lines and body (but not header)
Cc lines, contrary to the name.

Change --suppress-cc=sob to mean only SOB lines, and add separate
choices 'bodycc' (body Cc lines) and 'body' (both 'sob' and 'bodycc').
The option --no-signed-off-by-cc now acts like --suppress-cc=sob,
which is not backwards compatible but matches the name of the option.

Also update the documentation and add a few tests.

Original patch by me. Revised by Thomas Rast, who contributed the
documentation and test updates.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl
t/t9001-send-email.sh