summaryrefslogtreecommitdiff
path: root/builtin/symbolic-ref.c
diff options
context:
space:
mode:
authorLibravatar Miriam Rubio <mirucam@gmail.com>2020-02-17 09:40:32 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-19 09:37:14 -0800
commit680e8a01e57cd383048bf4e7d9668ce715d6d649 (patch)
tree8f067a0f2a5a9a6073b205f393cc21adcfc29dae /builtin/symbolic-ref.c
parentbisect--helper: introduce new `decide_next()` function (diff)
downloadtgif-680e8a01e57cd383048bf4e7d9668ce715d6d649.tar.xz
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 <chriscool@tuxfamily.org> Signed-off-by: Miriam Rubio <mirucam@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/symbolic-ref.c')
0 files changed, 0 insertions, 0 deletions