gitignore_parser
gitignore_parser copied to clipboard
I think this exception works incorrectly
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