summaryrefslogtreecommitdiff
path: root/contrib/hooks/multimail
diff options
context:
space:
mode:
authorLibravatar Marvin Häuser <mhaeuser@posteo.de>2021-08-30 15:30:01 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-30 13:25:28 -0700
commite0821134846b10952efc0737b9e32ca8226f0a4d (patch)
tree23152be12ece98f3ce37531d4a0cee4ca4c5abde /contrib/hooks/multimail
parentGit 2.31.1 (diff)
downloadtgif-e0821134846b10952efc0737b9e32ca8226f0a4d.tar.xz
send-email: avoid incorrect header propagation
If multiple independent patches are sent with send-email, even if the "In-Reply-To" and "References" headers are not managed by --thread or --in-reply-to, their values may be propagated from prior patches to subsequent patches with no such headers defined. To mitigate this and potential future issues, make sure all global patch-specific variables are always either handled by command-specific code (e.g. threading), or are reset to their default values for every iteration. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Marvin Häuser <mhaeuser@posteo.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/multimail')
0 files changed, 0 insertions, 0 deletions