summaryrefslogtreecommitdiff
path: root/builtin/mktag.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2018-08-13 04:47:39 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-13 12:22:12 -0700
commit4f69176feb1b441d46dab7a0ac679df7edf44f5f (patch)
tree4c440e0d7d42eb07948b34e583b18436a10b5564 /builtin/mktag.c
parentchainlint: recognize multi-line quoted strings more robustly (diff)
downloadtgif-4f69176feb1b441d46dab7a0ac679df7edf44f5f.tar.xz
chainlint: add test of pathological case which triggered false positive
This extract from contrib/subtree/t7900 triggered a false positive due to three chainlint limitations: * recognizing only a "blessed" set of here-doc tag names in a subshell ("EOF", "EOT", "INPUT_END"), of which "TXT" is not a member * inability to recognize multi-line $(...) when the first statement of the body is cuddled with the opening "$(" * inability to recognize multiple constructs on a single line, such as opening a multi-line $(...) and starting a here-doc Now that all of these shortcomings have been addressed, turn this rather pathological bit of shell coding into a chainlint test case. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mktag.c')
0 files changed, 0 insertions, 0 deletions