Merge branch 'dk/skip-prefix-scan-only-once'
authorJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:47:41 +0000 (12:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:47:41 +0000 (12:47 -0700)
Update implementation of skip_prefix() to scan only once; given
that most "prefix" arguments to the inline function are constant
strings whose strlen() can be determined at the compile time, this
might actually make things worse with a compiler with sufficient
intelligence.

* dk/skip-prefix-scan-only-once:
skip_prefix(): scan prefix only once

1  2 
git-compat-util.h
Simple merge