diff options
author | Jeff King <peff@peff.net> | 2018-05-13 12:57:14 -0400 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2018-05-21 23:50:11 -0400 |
commit | 41a80924aec0e94309786837b6f954a3b3f19b71 (patch) | |
tree | 80644e83e5d43d739852bf86afdf57e7ea381284 /Documentation/git-check-ref-format.txt | |
parent | is_{hfs,ntfs}_dotgitmodules: add tests (diff) | |
download | tgif-41a80924aec0e94309786837b6f954a3b3f19b71.tar.xz |
skip_prefix: add case-insensitive variant
We have the convenient skip_prefix() helper, but if you want
to do case-insensitive matching, you're stuck doing it by
hand. We could add an extra parameter to the function to
let callers ask for this, but the function is small and
somewhat performance-critical. Let's just re-implement it
for the case-insensitive version.
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'Documentation/git-check-ref-format.txt')
0 files changed, 0 insertions, 0 deletions