Re: [PATCH v14 04/27] bisect--helper: `bisect_clean_state` shell function in C
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2016, 20:58 UTC
- Message-ID
- <xmqqd1kxq3yj.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <01020156b73fe66f-bfad6316-39d4-4577-8f75-d1b4b2031263-000000@eu-west-1.amazonses.com>
Pranit Bauva <pranit.bauva@gmail.com> writes:
Show 13 quoted lines
> Reimplement `bisect_clean_state` shell function in C and add a > `bisect-clean-state` subcommand to `git bisect--helper` to call it from > git-bisect.sh . > > Using `--bisect-clean-state` subcommand is a measure to port shell > function to C so as to use the existing test suite. As more functions > are ported, this subcommand will be retired but its implementation will > be called by bisect_reset() and bisect_start(). > > Mentored-by: Lars Schneider <larsxschneider@gmail.com> > Mentored-by: Christian Couder <chriscool@tuxfamily.org> > Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com> > ---
This seems to be where this round diverges from the previous one. This patch in this round has more stuff that used to be in builtin/bisect--helper.c in the previous one in bisect.c. Because I am not sure if the distinction would make that much of a difference (after all, I do not think of a good reason why many bisect internals need to be exposed to anything other than the eventual builtin/bisect.c that retires git-bisect.sh), I am OK with the change to this patch between the previous round and this round.