Important Changes:
* The previous patch is split into two patches for a better and logical
commit history.
* As previously absent, strbuf is used for string manipulation.
* This passes the complete test suite unlike the previous patches.
* Proper use of error handling (die() and error() are used at appropriate
places).
* Remove the shell code which is then redundant.
* Improve according to the minor nits given by Johannes Schindelin.
Pranit Bauva (2):
bisect--helper: use OPT_CMDMODE instead of OPT_BOOL
bisect: rewrite `check_term_format` shell function in C
builtin/bisect--helper.c | 77 ++++++++++++++++++++++++++++++++++++++++++++----
git-bisect.sh | 31 ++-----------------
2 files changed, 73 insertions(+), 35 deletions(-)