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
This commit is contained in:
Junio C Hamano
2022-09-09 12:02:25 -07:00
6 changed files with 73 additions and 1 deletions

View File

@ -229,6 +229,7 @@ struct rev_info {
missing_newline:1,
date_mode_explicit:1,
preserve_subject:1,
force_in_body_from:1,
encode_email_headers:1,
include_header:1;
unsigned int disable_stdin:1;