diff options
author | Marvin Häuser <mhaeuser@posteo.de> | 2021-08-30 15:30:01 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-30 13:25:28 -0700 |
commit | e0821134846b10952efc0737b9e32ca8226f0a4d (patch) | |
tree | 23152be12ece98f3ce37531d4a0cee4ca4c5abde /contrib/persistent-https/socket.go | |
parent | Git 2.31.1 (diff) | |
download | tgif-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/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions