]> git.ipfire.org Git - thirdparty/git.git/commit - git-bisect.sh
bisect--helper: `is_expected_rev` & `check_expected_revs` shell function in C
authorPranit Bauva <pranit.bauva@gmail.com>
Fri, 29 Sep 2017 06:49:40 +0000 (06:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Oct 2017 05:12:37 +0000 (14:12 +0900)
commitb903674b354bf1538a89833dbee27fe3a7105e48
tree28e3382f1f19a36f1954d762c73bedf89395a49f
parentba7eafe14621a9be80e41ecd1ff616bc66cbc1bf
bisect--helper: `is_expected_rev` & `check_expected_revs` shell function in C

Reimplement `is_expected_rev` & `check_expected_revs` shell function in
C and add a `--check-expected-revs` subcommand to `git bisect--helper` to
call it from git-bisect.sh .

Using `--check-expected-revs` subcommand is a temporary measure to port
shell functions to C so as to use the existing test suite. As more
functions are ported, this subcommand would be retired but its
implementation will be called by some other method.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Mentored-by: Lars Schneider <larsxschneider@gmail.com>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/bisect--helper.c
git-bisect.sh