bisect: refactor bisect_run() to match CodingGuidelines
commitbdd2aa8a8bc46efce4a300d3cd6e169d89e99bc8
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 10 Nov 2022 16:36:37 +0000 (10 23:36 +0700)
committerTaylor Blau <me@ttaylorr.com>
Fri, 11 Nov 2022 22:05:50 +0000 (11 17:05 -0500)
treede2278c15c0016869f2a673669456ac09a23fc2f
parent982fecf7c195d47c50cd397db303d262d2af88f6
bisect: refactor bisect_run() to match CodingGuidelines

We didn't add "{}" to all "if/else" branches, and one "error" was
mis-indented. Let's fix that first, which makes subsequent commits
smaller. In the case of the "if" we can simply early return instead.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
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