]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t9001: fix indentation in test_no_confirm()
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Sun, 13 Aug 2023 10:46:49 +0000 (12:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Aug 2023 23:32:28 +0000 (16:32 -0700)
The continuations of the compound command were indented as if they were
continuations of the embedded pipe, which was misleading.

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

index 323952a572d61b0cff9c05086f9735231c3b0db5..8b05a602b2fcdf6e354cc8ec0439c80a2a4a58c8 100755 (executable)
@@ -61,8 +61,8 @@ test_no_confirm () {
                --smtp-server="$(pwd)/fake.sendmail" \
                $@ \
                $patches >stdout &&
-               ! grep "Send this email" stdout &&
-               >no_confirm_okay
+       ! grep "Send this email" stdout &&
+       >no_confirm_okay
 }
 
 # Exit immediately to prevent hang if a no-confirm test fails