Skip to content

list: ignores .dvcignore with path option #3431

@gurobokum

Description

@gurobokum

Based on the conversation
If you have a structure:

.dvc/
.dvcignore
data/
    a
    b
    c

And .dvcignore contains c, then your code will list all of the files in data, while c should be skipped

dvc list . data
a
b
c

but expects

a
b
$ dvc --version
0.86.5+a9bc65.mod

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDid we break something?p2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions