summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Josh Triplett <josh@joshtriplett.org>2016-07-30 02:41:56 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-01 13:13:02 -0700
commit6bc6b6c0dc0a58874a7a6b9afc3156a5cf9bb10d (patch)
tree05343b68df9de90923ea0fc2d3088f86321d2816 /Documentation
parentSome fixes for 2.9.3 (diff)
downloadtgif-6bc6b6c0dc0a58874a7a6b9afc3156a5cf9bb10d.tar.xz
format-patch: format.from gives the default for --from
This helps users who would prefer format-patch to default to --from, and makes it easier to change the default in the future. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6ad3eb66df..cdc99dca26 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1227,6 +1227,16 @@ format.attach::
value as the boundary. See the --attach option in
linkgit:git-format-patch[1].
+format.from::
+ Provides the default value for the `--from` option to format-patch.
+ Accepts a boolean value, or a name and email address. If false,
+ format-patch defaults to `--no-from`, using commit authors directly in
+ the "From:" field of patch mails. If true, format-patch defaults to
+ `--from`, using your committer identity in the "From:" field of patch
+ mails and including a "From:" field in the body of the patch mail if
+ different. If set to a non-boolean value, format-patch uses that
+ value instead of your committer identity. Defaults to false.
+
format.numbered::
A boolean which can enable or disable sequence numbers in patch
subjects. It defaults to "auto" which enables it only if there