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

2016-12-07 Thread Christian Couder
Hi Stephan, On Wed, Dec 7, 2016 at 12:40 AM, Stephan Beyer wrote: > Hi Pranit and Christian and Lars ;) > > On 12/07/2016 12:02 AM, Pranit Bauva wrote: >> On Tue, Nov 22, 2016 at 6:19 AM, Stephan Beyer wrote: >>> >>> Now that I have a coarse overview of what you did, I have the general >>> remar

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

2016-12-06 Thread Stephan Beyer
Hi Pranit and Christian and Lars ;) On 12/07/2016 12:02 AM, Pranit Bauva wrote: > On Tue, Nov 22, 2016 at 6:19 AM, Stephan Beyer wrote: >> Okay Pranit, >> >> this is the last patch for me to review in this series. >> >> Now that I have a coarse overview of what you did, I have the general >> rema

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

2016-12-06 Thread Stephan Beyer
Hey Pranit, On 12/07/2016 12:02 AM, Pranit Bauva wrote: >>> +static int bisect_replay(struct bisect_terms *terms, const char *filename) >>> +{ >>> + struct strbuf line = STRBUF_INIT; >>> + struct strbuf word = STRBUF_INIT; >>> + FILE *fp = NULL; >> >> (The initialization is not necessa

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

2016-12-06 Thread Pranit Bauva
Hey Stephan, On Tue, Nov 22, 2016 at 6:19 AM, Stephan Beyer wrote: > Okay Pranit, > > this is the last patch for me to review in this series. > > Now that I have a coarse overview of what you did, I have the general > remark that imho the "terms" variable should simply be global instead of > bein

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

2016-11-21 Thread Stephan Beyer
Okay Pranit, this is the last patch for me to review in this series. Now that I have a coarse overview of what you did, I have the general remark that imho the "terms" variable should simply be global instead of being passed around all the time. I also had some other remarks but I forgot them...

[PATCH v15 23/27] bisect--helper: `bisect_replay` shell function in C

2016-10-14 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