Skip to content

Commit 2d9ded8

Browse files
avargitster
authored andcommitted
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 <[email protected]> Acked-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b2fa7a2 commit 2d9ded8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/chainlint.sed

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,8 @@ b
131131
b
132132

133133
:subshell
134-
# bare "(" line?
134+
# bare "(" line? -- stash for later printing
135135
/^[ ]*([ ]*$/ {
136-
# stash for later printing
137136
h
138137
bnextline
139138
}

0 commit comments

Comments
 (0)