Skip to content

I think this exception works incorrectly #69

@Eddudos

Description

@Eddudos

I got this in my .gitignore:


# backups
*/backup/*
!*/backup/backup.sh

I'm printing this and get:

>print(filepath, matches_gitignore(filepath))
notebooks/backup/10-07-20:21:21/backup.dump False

So it does mark it as False, which is I think incorrect.
While in my git setup all files in /backup get ignored, except for backup.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions