summaryrefslogtreecommitdiff
path: root/builtin/count-objects.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2022-08-22 18:26:40 +0000
committerJunio C Hamano <gitster@pobox.com>2022-08-22 12:53:02 -0700
commit308cbaa0829f6c039728b521153e63928934681e (patch)
tree0d680ebe5e341779a6f25d81f5ad45d58858b0c8 /builtin/count-objects.c
parent795ea8776befc95ea2becd8020c7a284677b4161 (diff)
t2407: fix broken &&-chains in compound statement
The breaks in the &&-chain in this test went unnoticed because the "magic exit code 117" &&-chain checker built into test-lib.sh only recognizes broken &&-chains at the top-level; it does not work within `{...}` groups, `(...)` subshells, `$(...)` substitutions, or within bodies of compound statements, such as `if`, `for`, `while`, `case`, etc. Furthermore, `chainlint.sed` detects broken &&-chains only in `(...)` subshells. Thus, the &&-chain breaks in this test fall into the blind spots of the &&-chain linters. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions