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
Ignored folders starting with . aren't ignored #1038
Comments
Oh wow it's really bad, it doesn't understand .gitignore at all...
It still shows these folders regardless. Trying to figure out where you apply the logic for ignores. |
yes, it doesn't implement complete .gitignore possibilities, feel free to PR it |
Looking into it now, bit busy this evening tho so will try figure it out this week to see if I can send a PR. |
I've fixed it locally: In
becomes
The last piece instead of This fixes the issue where the folder can be found at any depth in the list, the existing one expected to find it at 1 deeper than the current location when it was 0 deeper than the current location. And
becomes
Removing This makes sure that [Bb] is treated as a standard regex list of values (in this case looking for case sensitive parsing of the folder where it looks for I've only tested it on a few .NET applications and its now working 100% perfectly for my scenario. Is there anything specific you want me to test? If not I'll send a PR. |
If it works for you, I'll test it on couple of my projects and if @marcelgerber agrees (he's the author of the original parsing) I'll merge it into the next version and release it. |
Sounds good to me @zaggino, lemme know if you have any issues. If you have something that doesn't work can you give me your .gitignore and your path/file that is to be ignored and I can fix that up too. ❤️ |
.gitignore
is setup to ignore anything with say*.nuget
in it.Theses are ignored by git, and show as ignored in editors such as Atom.
In your extension. Nothing that starts with
.
is ever shown as ignored.If I add a character to the front like
a
. So I havea.nuget
and update the.gitignore
it works fine.The text was updated successfully, but these errors were encountered: