Skip to content
  • Jeff King's avatar
    skip_prefix: add case-insensitive variant · 41a80924
    Jeff King authored
    
    
    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: default avatarJeff King <peff@peff.net>
    41a80924