]> git.99rst.org Git - git.git/commit
bisect--helper: simplify exit code computation
authorJohannes Schindelin <redacted>
Thu, 12 Jan 2023 15:19:09 +0000 (16:19 +0100)
committerJunio C Hamano <redacted>
Fri, 13 Jan 2023 22:17:13 +0000 (14:17 -0800)
commit7a8d7aaa47d952f255f29528359ee5e4edb7c6d2
tree089daba968e778336ec565f46640e394f8c96557
parenta38d39a4c50d1275833aba54c4dbdfce9e2e9ca1
bisect--helper: simplify exit code computation

We _already_ have a function to determine whether a given `enum
bisect_error` value is non-zero but still _actually_ indicates success.

Let's use it instead of duplicating the logic.

Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/bisect.c
git clone https://git.99rst.org/PROJECT