summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorMirko Faina <mroik@delayed.space>2026-02-18 00:25:18 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-17 15:29:57 -0800
commita8e89346a7731cb3104010f322c65e2a0c922618 (patch)
treed2f2e3f3c878d2b3f5fb0ad3aa06f54592194fd0 /contrib/persistent-https
parent67ad42147a7acc2af6074753ebd03d904476118f (diff)
downloadgit-a8e89346a7731cb3104010f322c65e2a0c922618.tar.gz
git-a8e89346a7731cb3104010f322c65e2a0c922618.zip
format-patch: fix From header in cover letter
"git format-patch" takes "--from=<user ident>" command line option and uses the given ident for patch e-mails, but this is not applied to the cover letter, the option is ignored and the committer ident of the current user is used. This has been the case ever since "--from" was introduced in a9080475 (teach format-patch to place other authors into in-body "From", 2013-07-03). Teach the make_cover_letter() function to honor the option, instead of always using the current committer identity. Change variable name from "committer" to "from" to better reflect the purpose of the variable. Signed-off-by: Mirko Faina <mroik@delayed.space> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions