bisect: add enum to represent bisect returning codes
authorMiriam Rubio <redacted>
Mon, 17 Feb 2020 08:40:32 +0000 (09:40 +0100)
committerJunio C Hamano <redacted>
Wed, 19 Feb 2020 17:37:14 +0000 (09:37 -0800)
commit680e8a01e57cd383048bf4e7d9668ce715d6d649
tree8f067a0f2a5a9a6073b205f393cc21adcfc29dae
parentbfacfce7d94951fe5b4e70bc2431dae5506b474b
bisect: add enum to represent bisect returning codes

Since we want to get rid of git-bisect.sh, it would be necessary to
convert those exit() calls to return statements so that errors can be
reported.

Create an enum called `bisect_error` with the bisecting return codes
to use in `bisect.c` libification process.

Change bisect_next_all() to make it return this enum.

Mentored-by: Christian Couder <redacted>
Signed-off-by: Miriam Rubio <redacted>
Signed-off-by: Junio C Hamano <redacted>
bisect.c
bisect.h
git clone https://git.99rst.org/PROJECT