]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Fix unclosed here document in t3301.sh
authorKacper Kornet <draenog@pld-linux.org>
Thu, 22 Jan 2015 11:59:36 +0000 (12:59 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Jan 2015 20:23:42 +0000 (12:23 -0800)
Commit 908a3203632a02568df230c0fccf9a2cd8da24e6 introduced  indentation
to here documents in t3301.sh. However in one place <<-EOF was missing
-, which broke this test when run with mksh-50d. This commit fixes it.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3301-notes.sh

index 245406ab979d63d3588c4e2000b02cc5f24e493b..8cffd35fb03d7ca5abbd1a229c6c8533f8c5e917 100755 (executable)
@@ -658,7 +658,7 @@ test_expect_success '--show-notes=* adds to GIT_NOTES_DISPLAY_REF' '
 '
 
 test_expect_success '--no-standard-notes' '
-       cat >expect-commits <<EOF
+       cat >expect-commits <<-EOF &&
                commit 2c125331118caba0ff8238b7f4958ac6e93fe39c
                Author: A U Thor <author@example.com>
                Date:   Thu Apr 7 15:18:13 2005 -0700