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

2016-08-26 Thread Junio C Hamano
Pranit Bauva writes: > +static int get_next_word(struct strbuf *line, struct strbuf *word) > +{ > + int i; > + for (i = 0; line->buf[i] != ' ' && line->buf[i] != '\0'; i++) > + strbuf_addch(word, line->buf[i]); > + > + return 0; > +} This looks like a very non-standard wa

[PATCH v14 22/27] bisect--helper: `bisect_replay` shell function in C

2016-08-23 Thread Pranit Bauva
Reimplement the `bisect_replay` shell function in C and also add `--bisect-replay` subcommand to `git bisect--helper` to call it from git-bisect.sh Using `--bisect-replay` subcommand is a temporary measure to port shell function to C so as to use the existing test suite. As more functions are port