python-pathspec
python-pathspec copied to clipboard
Backslashes at start of pattern not handled correctly
Given a gitignore pattern like "\*sterisk", Git (as of v2.36.1) will match a file named *sterisk but will not match one named asterisk. pathspec v0.9.0, meanwhile, matches both files.