[PATCH v3] skip_prefix: rewrite so that prefix is scanned once

2014-03-02 Thread Siddharth Goel
Helped-by: Eric Sunshine Signed-off-by: Siddharth Goel --- Added a space after colon in the subject as compared to previous patch [PATCH v2]. [PATCH v2]: http://thread.gmane.org/gmane.comp.version-control.git/243150 git-compat-util.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions

[PATCH v2] skip_prefix:rewrite so that prefix is scanned once

2014-03-02 Thread Siddharth Goel
Helped-by: Eric Sunshine Signed-off-by: Siddharth Goel --- Thanks a lot Eric for your valuable comments. Please let me know if there is anything else which needs to be modified in this patch. git-compat-util.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/git

Re: [PATCH] git-compat-util.h:rewrite skip_prefix() as loop

2014-03-01 Thread Siddharth Goel
this Microproject or should I go with another one? On Sat, Mar 1, 2014 at 9:32 PM, Siddharth Goel wrote: > Rewrote skip_prefix() function so that prefix is scanned once. > > Signed-off-by: Siddharth Goel > --- > git-compat-util.h | 7 +-- > 1 file changed, 5 insertio

[PATCH] git-compat-util.h:rewrite skip_prefix() as loop

2014-03-01 Thread Siddharth Goel
Rewrote skip_prefix() function so that prefix is scanned once. Signed-off-by: Siddharth Goel --- git-compat-util.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/git-compat-util.h b/git-compat-util.h index 614a5e9..550dce3 100644 --- a/git-compat-util.h +++ b/git