]> git.ipfire.org Git - thirdparty/git.git/commit
send-email: detect empty blank lines in command output
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Mon, 1 May 2023 14:38:48 +0000 (10:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 May 2023 15:55:52 +0000 (08:55 -0700)
commit3a7a18a045cd94a13ed04ef715dcd1b91547a0af
tree4feb6783d5fa37d05972f4037ed85cd5faf761cf
parentba92106e93c66e41af5180ac1b6ad0f959f72bb4
send-email: detect empty blank lines in command output

The email format does not allow blank lines in headers; detect such
input and report it as malformed and add a test for it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
t/t9001-send-email.sh