Re: [PATCH v2] commit.c: Replace starts_with() with skip_prefix()

2014-03-06 Thread Eric Sunshine
On Wed, Mar 5, 2014 at 9:06 AM, Karthik Nayak karthik@gmail.com wrote: Replaces all instances of starts_with() by skip_prefix(), Use imperative mode: Replace all... which can not only be used to check presence of a prefix, but also used further on as it returns the string after the

[PATCH v2] commit.c: Replace starts_with() with skip_prefix()

2014-03-05 Thread Karthik Nayak
Replaces all instances of starts_with() by skip_prefix(), which can not only be used to check presence of a prefix, but also used further on as it returns the string after the prefix, if the prefix is present. Signed-off-by: Karthik Nayak karthik@gmail.com --- Hey Eric, Here are the changes

Re: [PATCH v2] commit.c: Replace starts_with() with skip_prefix()

2014-03-05 Thread karthik nayak
Hey Eric, Sorry about not cc'ing you again , still figuring out git send-email. On Wed, Mar 5, 2014 at 7:36 PM, Karthik Nayak karthik@gmail.com wrote: Replaces all instances of starts_with() by skip_prefix(), which can not only be used to check presence of a prefix, but also used further