gitignore_parser icon indicating copy to clipboard operation
gitignore_parser copied to clipboard

I think this exception works incorrectly

Open Eddudos opened this issue 3 months ago • 0 comments

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

Eddudos avatar Oct 25 '24 12:10 Eddudos