Re: [PATCH v14 21/27] bisect--helper: `bisect_log` shell function in C

2016-08-27 Thread Pranit Bauva
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) { >> +

Re: [PATCH v14 21/27] bisect--helper: `bisect_log` shell function in C

2016-08-26 Thread Junio C Hamano
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")); > + }