]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4014-format-patch.sh
format-patch: learn format.forceInBodyFrom configuration variable
authorJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2022 21:38:37 +0000 (14:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2022 21:39:13 +0000 (14:39 -0700)
commitd5fc07df688ace8c5a32f66b358ebd55cdaf4d28
tree4e85ad980a53ed4f8632e9d86b86dfff2fb6a429
parent34bc1b1045af6ad813f4de662a453b3c77ba65a7
format-patch: learn format.forceInBodyFrom configuration variable

As the need to use the "--force-in-body-from" option primarily is
tied to which mailing list the mails go to (and get their From:
address mangled), it is likely that a user who needs to use this
option once to interact with their upstream project needs to use it
for all patches they send out.

Add a configuration variable, suitable for setting in the local
configuration file per repository, for this.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/format.txt
Documentation/git-format-patch.txt
builtin/log.c
t/t4014-format-patch.sh