]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
git-send-email: Generalize auto-cc recipient mechanism.
authorDavid Brown <git@davidb.org>
Wed, 26 Dec 2007 03:56:29 +0000 (19:56 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2008 08:42:32 +0000 (00:42 -0800)
commit656482830ddc4a4e2af132fabb118a25190439c2
tree52cf6fa5be512295560e4fc91284d6b46e1bcb4b
parent7a2078b4b00fb1c5d7b0bf8155778f79377b8f2f
git-send-email: Generalize auto-cc recipient mechanism.

There are a few options to git-send-email to suppress the automatic
generation of 'Cc' fields: --suppress-from, and --signed-off-cc.
However, there are other times that git-send-email automatically
includes Cc'd recipients.  This is not desirable for all development
environments.

Add a new option --suppress-cc, which can be specified one or more
times to list the categories of auto-cc fields that should be
suppressed.  If not specified, it defaults to values to give the same
behavior as specified by --suppress-from, and --signed-off-cc.  The
categories are:

  self   - patch sender.  Same as --suppress-from.
  author - patch author.
  cc     - cc lines mentioned in the patch.
  cccmd  - avoid running the cccmd.
  sob    - signed off by lines.
  all    - all non-explicit recipients

Signed-off-by: David Brown <git@davidb.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl