-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
.dvcignore is broken on negation when blacklisting all #4103
Comments
CC @pared is this expected? |
Considering that we have been designing
And the two differences occur in following situations:
and
I also compared the results from before latest dvc optimization, #3967 results were the same as for master. So, in conclusion, I think its a bug. |
I compared the result to #4120 and there is no difference. |
@karajan1001, I think this issue is with the upstream library, as this issue looks similar to: cpburnz/python-pathspec#19, but I haven't looked closely to verify. |
@skshetry I agreed. I had looked into the ignore content: git results: |
Bug Report
Please provide information about your setup
I am not sure how far this extends to, but a lot of trials for
.dvcignore
failed when I blacklisted all and tried to whitelist some:What worked:
Why do I feel suddenly the spelling of
scripts
is wrong? 😄The text was updated successfully, but these errors were encountered: