summaryrefslogtreecommitdiff
path: root/t/t7501-commit-basic-functionality.sh
diff options
context:
space:
mode:
authorMichael Montalbo <mmontalbo@gmail.com>2026-07-06 05:01:55 +0000
committerJunio C Hamano <gitster@pobox.com>2026-07-06 13:26:59 -0700
commitc451e96f3f6da47bab881b6b1246417691ce66d4 (patch)
tree1e695c5e4d0eeabe1ea82e5ee7785e7207dc82d2 /t/t7501-commit-basic-functionality.sh
parent04e875a364f5a3792077a3e90c6f546b4cf7ea4c (diff)
t: extract chainlint's parser into shared module
Move chainlint.pl's Lexer, ShellParser, and ScriptParser into a shared module (lib-shell-parser.pl) so other lint tools can reuse the same shell parsing infrastructure. A subsequent commit adds greplint.pl, which needs the same tokenizer to correctly identify command boundaries. ScriptParser's check_test() becomes a no-op in the shared module. chainlint.pl defines ChainlintParser (extending ScriptParser) with the &&-chain check_test() implementation. No functional change: chainlint produces the same output and check-chainlint self-tests pass. Signed-off-by: Michael Montalbo <mmontalbo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit-basic-functionality.sh')
0 files changed, 0 insertions, 0 deletions