diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2018-08-24 17:20:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-27 20:31:43 +0200 |
commit | 2d9ded8accda2f32868516ddbe17b5ea323477a3 (patch) | |
tree | 5bff5b3fd4528e87b05a396455f1a8e47b9f6907 /t/chainlint.sed | |
parent | tests: fix and add lint for non-portable seq (diff) | |
download | git-2d9ded8accda2f32868516ddbe17b5ea323477a3.tar.xz git-2d9ded8accda2f32868516ddbe17b5ea323477a3.zip |
tests: fix comment syntax in chainlint.sed for AIX sed
Change a comment in chainlint.sed to appease AIX sed, which would
previously print this error:
sed: # stash for later printing is not a recognized function
1. https://public-inbox.org/git/CAPig+cTTbU5HFMKgNyrxTp3+kcK46-Fn=4ZH6zDt1oQChAc3KA@mail.gmail.com/
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | t/chainlint.sed | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/chainlint.sed b/t/chainlint.sed index 8544df38df..dcb4b333ed 100644 --- a/t/chainlint.sed +++ b/t/chainlint.sed @@ -131,9 +131,8 @@ b b :subshell -# bare "(" line? +# bare "(" line? -- stash for later printing /^[ ]*([ ]*$/ { - # stash for later printing h bnextline } |