Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2018-08-13 11:47:35 +0300
committerJunio C Hamano <gitster@pobox.com>2018-08-13 22:22:11 +0300
commit7e32a31b2101c3ced65ea9367c747930a4eb39d9 (patch)
tree86893d053f76b38cef1056130bbfad77999847ae /t/chainlint/here-doc.expect
parentc2c29cc03e0d8156095dd18e2f7dcb768253c61a (diff)
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>
Diffstat (limited to 't/chainlint/here-doc.expect')
-rw-r--r--t/chainlint/here-doc.expect2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/chainlint/here-doc.expect b/t/chainlint/here-doc.expect
index 33bc3cc0b4..aff6568716 100644
--- a/t/chainlint/here-doc.expect
+++ b/t/chainlint/here-doc.expect
@@ -2,4 +2,6 @@ boodle wobba gorgo snoot wafta snurb &&
cat >foo &&
+cat >bar &&
+
horticulture