]> git.ipfire.org Git - thirdparty/git.git/commit
chainlint: add explanatory comments
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 8 Nov 2022 19:08:27 +0000 (19:08 +0000)
committerTaylor Blau <me@ttaylorr.com>
Tue, 8 Nov 2022 20:10:49 +0000 (15:10 -0500)
commitc90d81f8bb691b6627497e69d599e1f7fa7e9dfa
tree5077ea421a2b14023ccb01b38ed4725d54d6fc82
parent3b08839926fcc7cc48cf4c759737c1a71af430c1
chainlint: add explanatory comments

The logic in TestParser::accumulate() for detecting broken &&-chains is
mostly well-commented, but a couple branches which were deemed obvious
and straightforward lack comments. In retrospect, though, these cases
may give future readers pause, so comment them, as well.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/chainlint.pl