diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-09-09 12:02:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-09-09 12:02:25 -0700 |
commit | 0e2a4764edea38c4aad95af246d6a7648a7d5e2d (patch) | |
tree | 01f278caec2b8d7d037abeb37f34968d484d5d97 /Documentation/config | |
parent | 428dce9f4d70b44b61c19c36f3dbe5b3f58aeba2 (diff) | |
parent | d5fc07df688ace8c5a32f66b358ebd55cdaf4d28 (diff) | |
download | git-0e2a4764edea38c4aad95af246d6a7648a7d5e2d.tar.gz |
Merge branch 'jc/format-patch-force-in-body-from'
"git format-patch --from=<ident>" can be told to add an in-body
"From:" line even for commits that are authored by the given
<ident> with "--force-in-body-from"option.
* jc/format-patch-force-in-body-from:
format-patch: learn format.forceInBodyFrom configuration variable
format-patch: allow forcing the use of in-body From: header
pretty: separate out the logic to decide the use of in-body from
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/format.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config/format.txt b/Documentation/config/format.txt index fdbc06a4d2..c7303d8d9f 100644 --- a/Documentation/config/format.txt +++ b/Documentation/config/format.txt @@ -15,6 +15,10 @@ format.from:: different. If set to a non-boolean value, format-patch uses that value instead of your committer identity. Defaults to false. +format.forceInBodyFrom:: + Provides the default value for the `--[no-]force-in-body-from` + option to format-patch. 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 |