chainlint.sed: drop subshell-closing ">" annotation
chainlint.sed inserts a ">" annotation at the beginning of a line to signal that its heuristics have identified an end-of-subshell. This was useful as a debugging aid during development of the script, but it has no value to test writers and might even confuse them into thinking that the linter is misbehaving by inserting line-noise into the shell code it is validating. Moreover, its presence also potentially makes it difficult to reuse the chainlint self-test "expect" output should a more capable linter ever be developed. Therefore, drop the ">" annotation. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0d7131763e
commit
5be30d0cd3
@ -1,19 +1,19 @@
|
||||
(
|
||||
(cd foo &&
|
||||
bar
|
||||
>> ) &&
|
||||
) &&
|
||||
(cd foo &&
|
||||
bar
|
||||
>> ) ?!AMP?!
|
||||
) ?!AMP?!
|
||||
(
|
||||
cd foo &&
|
||||
>> bar) &&
|
||||
bar) &&
|
||||
(
|
||||
cd foo &&
|
||||
>> bar) ?!AMP?!
|
||||
bar) ?!AMP?!
|
||||
(cd foo &&
|
||||
>> bar) &&
|
||||
bar) &&
|
||||
(cd foo &&
|
||||
>> bar) ?!AMP?!
|
||||
bar) ?!AMP?!
|
||||
foobar
|
||||
>)
|
||||
)
|
||||
|
Reference in New Issue
Block a user