summaryrefslogtreecommitdiff
path: root/t/chainlint.sed
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-08-24 15:20:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-27 18:31:43 (GMT)
commit2d9ded8accda2f32868516ddbe17b5ea323477a3 (patch)
tree5bff5b3fd4528e87b05a396455f1a8e47b9f6907 /t/chainlint.sed
parentb2fa7a2372f42af404a942a4691a5341af8868e9 (diff)
downloadgit-2d9ded8accda2f32868516ddbe17b5ea323477a3.zip
git-2d9ded8accda2f32868516ddbe17b5ea323477a3.tar.gz
git-2d9ded8accda2f32868516ddbe17b5ea323477a3.tar.bz2
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 't/chainlint.sed')
-rw-r--r--t/chainlint.sed3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/chainlint.sed b/t/chainlint.sed
index 8544df3..dcb4b33 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
}