]> git.ipfire.org Git - thirdparty/git.git/commit
bisect--helper: use `res` instead of return in BISECT_RESET case option
authorPranit Bauva <pranit.bauva@gmail.com>
Wed, 3 Feb 2021 21:54:35 +0000 (22:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Feb 2021 22:52:09 +0000 (14:52 -0800)
commitb7a6f163d6273896e4f846f63dd711be0174522b
tree9edd3ed8cfd11e2da5ef943b51269ea829f73561
parent68efed8c8a43ad95f4e517ea60034179418dd8bc
bisect--helper: use `res` instead of return in BISECT_RESET case option

Use `res` variable to store `bisect_reset()` output in BISECT_RESET
case option to make bisect--helper.c more consistent.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Miriam Rubio <mirucam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/bisect--helper.c