Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backslashes at start of pattern not handled correctly #55

Closed
jwodder opened this issue Jun 24, 2022 · 1 comment
Closed

Backslashes at start of pattern not handled correctly #55

jwodder opened this issue Jun 24, 2022 · 1 comment

Comments

@jwodder
Copy link

jwodder commented Jun 24, 2022

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.

@cpburnz
Copy link
Owner

cpburnz commented Aug 13, 2022

This is fixed and will be in v0.10.0 when it is released.

@cpburnz cpburnz closed this as completed Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants