bisect--helper: reimplement `bisect_autostart` shell function in C
authorPranit Bauva <redacted>
Thu, 24 Sep 2020 12:33:38 +0000 (14:33 +0200)
committerJunio C Hamano <redacted>
Thu, 24 Sep 2020 19:06:30 +0000 (12:06 -0700)
commit09535f056b08445e28c4881064b8435fb434d760
tree1168e9d46824c00d219816f1120557b619beb020
parent7b4de74b5de5c1ceb035d33168d482ad213b4137
bisect--helper: reimplement `bisect_autostart` shell function in C

Reimplement the `bisect_autostart()` shell function in C and add the
C implementation from `bisect_next()` which was previously left
uncovered.

Add `--bisect-autostart` subcommand to be called from git-bisect.sh.
Using `--bisect-autostart` subcommand is a temporary measure to port
the shell function to C so as to use the existing test suite. As more
functions are ported, this subcommand will be retired and
bisect_autostart() will be called directly by `bisect_state()`.

Change behavior of shell script that returned success when user aborted
the bisection.

Mentored-by: Lars Schneider <redacted>
Mentored-by: Christian Couder <redacted>
Mentored-by: Johannes Schindelin <redacted>
Signed-off-by: Pranit Bauva <redacted>
Signed-off-by: Tanushree Tumane <redacted>
Signed-off-by: Miriam Rubio <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/bisect--helper.c
git-bisect.sh
git clone https://git.99rst.org/PROJECT