Re: [PATCH 1/2] bisect--helper: `is_expected_rev` shell function in C

2016-06-11 Thread Pranit Bauva
Hey Eric, On Sat, Jun 11, 2016 at 12:44 AM, Eric Sunshine wrote: > On Fri, Jun 10, 2016 at 9:39 AM, Pranit Bauva wrote: >> On Fri, Jun 10, 2016 at 3:03 AM, Eric Sunshine >> wrote: >>> On Wed, Jun 8, 2016 at 11:24 AM,

Re: [PATCH 1/2] bisect--helper: `is_expected_rev` shell function in C

2016-06-10 Thread Eric Sunshine
On Fri, Jun 10, 2016 at 9:39 AM, Pranit Bauva wrote: > On Fri, Jun 10, 2016 at 3:03 AM, Eric Sunshine > wrote: >> On Wed, Jun 8, 2016 at 11:24 AM, Pranit Bauva wrote: >>> Reimplement `is_expected_rev` shell function in C.

Re: [PATCH 1/2] bisect--helper: `is_expected_rev` shell function in C

2016-06-10 Thread Pranit Bauva
Hey Eric, On Fri, Jun 10, 2016 at 3:03 AM, Eric Sunshine wrote: > On Wed, Jun 8, 2016 at 11:24 AM, Pranit Bauva wrote: >> Reimplement `is_expected_rev` shell function in C. This will further be >> called from `check_expected_revs` function. This

Re: [PATCH 1/2] bisect--helper: `is_expected_rev` shell function in C

2016-06-09 Thread Eric Sunshine
On Thu, Jun 9, 2016 at 5:33 PM, Eric Sunshine wrote: > On Wed, Jun 8, 2016 at 11:24 AM, Pranit Bauva wrote: >> + strbuf_trim(_hex); >> + return !strcmp(actual_hex.buf, expected_hex); > > Thus, it only ever gets to this point if the

Re: [PATCH 1/2] bisect--helper: `is_expected_rev` shell function in C

2016-06-09 Thread Eric Sunshine
On Wed, Jun 8, 2016 at 11:24 AM, Pranit Bauva wrote: > Reimplement `is_expected_rev` shell function in C. This will further be > called from `check_expected_revs` function. This is a quite small > function thus subcommand facility is redundant. This patch should be

[PATCH 1/2] bisect--helper: `is_expected_rev` shell function in C

2016-06-08 Thread Pranit Bauva
Reimplement `is_expected_rev` shell function in C. This will further be called from `check_expected_revs` function. This is a quite small function thus subcommand facility is redundant. Mentored-by: Lars Schneider Mentored-by: Christian Couder