Skip to content
  • Junio C Hamano's avatar
    utf8-bom: introduce skip_utf8_bom() helper · dde843e7
    Junio C Hamano authored
    
    
    With the recent change to ignore the UTF8 BOM at the beginning of
    .gitignore files, we now have two codepaths that do such a skipping
    (the other one is for reading the configuration files).
    
    Introduce utf8_bom[] constant string and skip_utf8_bom() helper
    and teach .gitignore code how to use it.
    
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    dde843e7