diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-03-21 12:47:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-21 12:47:41 -0700 |
commit | 1be645c0b1b2218d58fbae9dd6174ff2a9d66d57 (patch) | |
tree | 91e1f8d19b5c5716a6f2645f8ead67f4264b194d /builtin/clean.c | |
parent | Merge branch 'nd/tag-version-sort' (diff) | |
parent | skip_prefix(): scan prefix only once (diff) | |
download | tgif-1be645c0b1b2218d58fbae9dd6174ff2a9d66d57.tar.xz |
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
Diffstat (limited to 'builtin/clean.c')
0 files changed, 0 insertions, 0 deletions