Merge branch 'jc/send-email-pre-process-fix'
commitb04671b638745ecdad70d3f22e9f5032f41fc26d
authorJunio C Hamano <gitster@pobox.com>
Fri, 19 May 2023 16:27:06 +0000 (19 09:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 May 2023 16:27:06 +0000 (19 09:27 -0700)
tree06830250b0f230e7c1d599aa5e77bed7c48540e7
parent75ab1fa5ab167828da918f19c7aebe5ee7a1b304
parent20bd08aefb20168c6c227d2bfd1965761f9201ea
Merge branch 'jc/send-email-pre-process-fix'

When "git send-email" that uses the validate hook is fed a message
without and then with Message-ID, it failed to auto-assign a unique
Message-ID to the former and instead reused the Message-ID from the
latter, which has been corrected.  This was a fix for a recent
regression caught before the release, so no need to mention it in
the release notes.

* jc/send-email-pre-process-fix:
  t9001: mark the script as no longer leak checker clean
  send-email: clear the $message_id after validation
git-send-email.perl
t/t9001-send-email.sh