Hey Junio,
On Sat, Aug 27, 2016 at 4:37 AM, Junio C Hamano wrote:
> Pranit Bauva writes:
>
>> +static int bisect_log(void)
>> +{
>> + struct strbuf buf = STRBUF_INIT;
>> +
>> + if (strbuf_read_file(, git_path_bisect_log(), 256) < 0) {
>> +
Pranit Bauva writes:
> +static int bisect_log(void)
> +{
> + struct strbuf buf = STRBUF_INIT;
> +
> + if (strbuf_read_file(, git_path_bisect_log(), 256) < 0) {
> + strbuf_release();
> + return error(_("We are not bisecting.\n"));
> + }
Reimplement the `bisect_log` shell function in C and also add
`--bisect-log` subcommand to `git bisect--helper` to call it from
git-bisect.sh .
Using `--bisect-log` subcommand is a temporary measure to port shell
function to C so as to use the existing test suite. As more functions
are ported,
3 matches
Mail list logo