chainlint: match 'quoted' here-doc tags
commit7e32a31b2101c3ced65ea9367c747930a4eb39d9
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 13 Aug 2018 08:47:35 +0000 (13 04:47 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Aug 2018 19:22:11 +0000 (13 12:22 -0700)
tree86893d053f76b38cef1056130bbfad77999847ae
parentc2c29cc03e0d8156095dd18e2f7dcb768253c61a
chainlint: match 'quoted' here-doc tags

A here-doc tag can be quoted ('EOF') or escaped (\EOF) to suppress
interpolation within the body. Although, chainlint recognizes escaped
tags, it does not know about quoted tags. For completeness, teach it to
recognize quoted tags, as well.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/chainlint.sed
t/chainlint/here-doc.expect
t/chainlint/here-doc.test
t/chainlint/subshell-here-doc.expect
t/chainlint/subshell-here-doc.test