]> git.ipfire.org Git - thirdparty/git.git/commit
bisect-run: verify_good: account for non-negative exit status
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Thu, 10 Nov 2022 16:36:40 +0000 (23:36 +0700)
committerTaylor Blau <me@ttaylorr.com>
Fri, 11 Nov 2022 22:05:53 +0000 (17:05 -0500)
commit8962f8f8887c15b3e55ebc348a2490290a55d8a5
tree8222aa93650fda89e437cb726711fc0f534cd6a9
parent461fec41fa79803c367ccaf11f713d6c67ba709f
bisect-run: verify_good: account for non-negative exit status

Some system never reports negative exit code at all, they reports them
as bigger-than-128 instead.  We take extra care for those systems in the
later check for normal 'do_bisect_run' loop.

Let's check it here, too.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
builtin/bisect--helper.c
t/t6030-bisect-porcelain.sh