summaryrefslogtreecommitdiff
path: root/sideband.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-28 14:28:41 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-30 13:05:28 -0800
commitddf8420b59297b6b40246a33d8a1c760bedc93cc (patch)
tree8b121a616349ea0005b4050fc9e20438340c0f54 /sideband.h
parentThe first batch to start the current cycle (diff)
downloadtgif-ddf8420b59297b6b40246a33d8a1c760bedc93cc.tar.xz
cat-file tests: test bad usage
Stress test the usage emitted when options are combined in ways that isn't supported. Let's test various option combinations, some of these we buggily allow right now. E.g. this reveals a bug in 321459439e1 (cat-file: support --textconv/--filters in batch mode, 2016-09-09) that we'll fix in a subsequent commit. We're supposed to be emitting a relevant message when --batch-all-objects is combined with --textconv or --filters, but we don't. The cases of needing to assign to opt=2 in the "opt" loop are because on those we do the right thing already, in subsequent commits the "test_expect_failure" cases will be fixed, and the for-loops unified. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sideband.h')
0 files changed, 0 insertions, 0 deletions