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

2014-03-02 Thread Siddharth Goel
Helped-by: Eric Sunshine sunsh...@sunshineco.com Signed-off-by: Siddharth Goel siddharth98...@gmail.com --- 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

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

2014-03-02 Thread Siddharth Goel
Helped-by: Eric Sunshine sunsh...@sunshineco.com Signed-off-by: Siddharth Goel siddharth98...@gmail.com --- 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

[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 siddharth98...@gmail.com --- 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

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

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