Merge branch 'dk/skip-prefix-scan-only-once'
commit1be645c0b1b2218d58fbae9dd6174ff2a9d66d57
authorJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:47:41 +0000 (21 12:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 19:47:41 +0000 (21 12:47 -0700)
tree91e1f8d19b5c5716a6f2645f8ead67f4264b194d
parentb6de0c633e60424d8d7e31a6557854683f2e4e43
parentba399c46d9d3930871480ec24518b1541bfdbab3
Merge branch 'dk/skip-prefix-scan-only-once'

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
git-compat-util.h