-
Notifications
You must be signed in to change notification settings - Fork 176
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
Plugin is saying that I'm tracking ignored files but it's wrong #523
Comments
Maybe related: #513 |
I tried deleting |
I think the line you have in your gitignore file "experiments/bin/gen/" ignores the whole folder so the line after it "!experiments/bin/gen/init_.py" doesn't do anything and that's why it's still being ignored. I would suggest changing "experiments/bin/gen/" to "experiments/bin/gen/*" and that might fix the problem. |
Same issue. Easy to repo: create a .gitignore with the following content: Git (correctly) shows that out/ignored is ignored and out/.keep is not ignored. The plugin appears to not process the "exclusion" operation ("!") |
I don't know when this may have changed, but the issue is caused by Git.
So the following doesn't work:
Running
To correct this you have to stop excluding the directory, and only exclude the contents.
Running There's a small caveat to this though. If there are any files inside ignored subdirectories that you want to track, then you have to do a bit more:
|
This feature will be disabled with v3.1.0 |
Prerequisites
mobi.hsz.idea.gitignore
package nameDescription
After I open a project the plugin presents a popup in the lower right corner that tells me "Ignored files found that are tracked" I click the "Show details" button to see the files and I notice that it's listing files that while they are listed in the .gitignore file they are being excluded from being ignored so they should not be counted as files that are being ignored in .gitignore
Steps to Reproduce
Just logging in produces the pop up. I've proved a screenshot so you can see the problem
Expected behavior: What you expect to happen
To not display this popup message
Actual behavior: What actually happens
Displays this popup message
Reproduces how often: What percentage of the time does it reproduce?
100%
Versions
Plugin:
Version: 2.4.0
IDE:
2017.3.4
OS:
Windows 10 Pro
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: