ignore/gitignore: skip BOM at start of ignore file
This matches Git's behavior. Fixes #2177, Closes #2782
This commit is contained in:
committed by
Andrew Gallant
parent
c93fc793a0
commit
483628469a
2
crates/ignore/tests/gitignore_skip_bom.gitignore
Normal file
2
crates/ignore/tests/gitignore_skip_bom.gitignore
Normal file
@@ -0,0 +1,2 @@
|
||||
ignore/this/path
|
||||
# This file begins with a BOM (U+FEFF)
|
||||
Reference in New Issue
Block a user