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
directory ending with / not always correctly ignored #77
Comments
Confirmed. Really weird behavior of IMO, I need to check the spec However, this issue might not have side effects. |
The thing is that |
But I think this issue will not cause the situation that we copy wrong files (we always copy files instead of directories), so it is of low priority. |
The use case I'm having is that I use isomorphic-git which uses this package under the hood. I'm building Would you be open for a PR to try to fix this use case? |
yes I would |
Hi!
Thanks for this awesome package! I think I might found a small bug when using it.
With the following
.gitignore
contentsRunning
git check-ignore -v c/
results inUsing
ignore.test('c/')
indicates that it's not ignored. This package correctly indicates thatc/
is ignored if I changec/*
in the.gitignore
file toc/
.Kind regards
Sam
The text was updated successfully, but these errors were encountered: