aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorAdam Roben <aroben@apple.com>2007-06-27 20:59:37 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-27 21:00:36 -0700
commit5483c71d7ac06b4f16c646886abbb2d0f88a2855 (patch)
tree7279d4b81832e7d073bcba0039aaf6c97687c0cb /Documentation/git-send-email.txt
parentfe5e7f332c8a95680a869eaca8033213676cbc7b (diff)
downloadgit-5483c71d7ac06b4f16c646886abbb2d0f88a2855.tar.gz
git-5483c71d7ac06b4f16c646886abbb2d0f88a2855.tar.xz
git-send-email: make options easier to configure.
This change makes git-send-email's behavior easier to modify by adding config equivalents for two more of git-send-email's flags. The mapping of flag to config setting is: --[no-]supress-from => sendemail.suppressfrom --[no-]signed-off-cc => sendemail.signedoffcc It renames the --threaded option to --thread/--no-thread; the config variable is also called sendemail.thread. Signed-off-by: Adam Roben <aroben@apple.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt24
1 files changed, 14 insertions, 10 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 1f5d57d42..293686c31 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -59,9 +59,11 @@ The --cc option must be repeated for each user you want on the cc list.
Only necessary if --compose is also set. If --compose
is not set, this will be prompted for.
---no-signed-off-by-cc::
- Do not add emails found in Signed-off-by: or Cc: lines to the
- cc list.
+--signed-off-by-cc, --no-signed-off-by-cc::
+ If this is set, add emails found in Signed-off-by: or Cc: lines to the
+ cc list.
+ Default is the value of 'sendemail.signedoffbycc' configuration value;
+ if that is unspecified, default to --signed-off-by-cc.
--quiet::
Make git-send-email less verbose. One line per email should be
@@ -82,16 +84,18 @@ The --cc option must be repeated for each user you want on the cc list.
Only necessary if --compose is also set. If --compose
is not set, this will be prompted for.
---suppress-from::
- Do not add the From: address to the cc: list, if it shows up in a From:
- line.
+--suppress-from, --no-suppress-from::
+ If this is set, do not add the From: address to the cc: list, if it
+ shows up in a From: line.
+ Default is the value of 'sendemail.suppressfrom' configuration value;
+ if that is unspecified, default to --no-supress-from.
---threaded, --no-threaded::
+--thread, --no-thread::
If this is set, the In-Reply-To header will be set on each email sent.
- If disabled with "--no-threaded", no emails will have the In-Reply-To
+ If disabled with "--no-thread", no emails will have the In-Reply-To
header set.
- Default is the value of the 'sendemail.threaded' configuration value;
- if that is unspecified, default to --threaded.
+ Default is the value of the 'sendemail.thread' configuration value;
+ if that is unspecified, default to --thread.
--dry-run::
Do everything except actually send the emails.