]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t9001: remove excessive GIT_SEND_EMAIL_NOTTY=1
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Wed, 9 Aug 2023 17:15:31 +0000 (19:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Aug 2023 19:44:07 +0000 (12:44 -0700)
This was added by 3ece9bf0f9 (send-email: clear the $message_id after
validation, 2023-05-17) for no apparent reason, as this is required only
in cases when git's stdin is (must be) redirected, which isn't the case
here.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh

index 20511032263ae171e3450e01578e26db3f6fdee0..2020e0ce69e673c6559f0971750b8be25054e35a 100755 (executable)
@@ -592,7 +592,6 @@ test_expect_success $PREREQ 'clear message-id before parsing a new message' '
        clean_fake_sendmail &&
        echo true | write_script my-hooks/sendemail-validate &&
        test_config core.hooksPath my-hooks &&
-       GIT_SEND_EMAIL_NOTTY=1 \
        git send-email --validate --to=recipient@example.com \
                --smtp-server="$(pwd)/fake.sendmail" \
                $patches $threaded_patches &&