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 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 prefix, > if the prefix

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 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 on as it returns

[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 --- Hey Eric, Here are the changes i have made in this Pa