Commit graph

8 commits

Author SHA1 Message Date
Bart Schuurmans
3f4a79613d Add failing test case for directory with ignored contents
In git, the entire directory does not exist
In gitignoresource, the empty directory does exist
2022-07-29 22:51:33 +02:00
Robert Hensing
f27ecea068 Fix character class parsing
Fixes #40
2020-05-12 16:06:42 +02:00
Robert Hensing
f952568243
Merge pull request #22 from hercules-ci/unescape-hash-sign
Unescape hash sign
2019-09-17 17:01:12 +02:00
Robert Hensing
7f3958bb32 Ignore empty directories
Fixes #12
2019-09-17 14:01:35 +02:00
Robert Hensing
206787537e Explicitly unescape hash signs. Required since Nix 2.3. 2019-09-17 13:06:41 +02:00
Douglas Wilson
484cd263a2 Add a failing test for a subdir ignoring itself
The .gitignore in foo causes foo itself to be ignored
2019-09-06 07:48:03 +01:00
Robert Hensing
bcc385e399 Add IFD-free gitignoreSource implementation 2019-05-12 13:48:32 +02:00
siers
25093d4d10 Initialize with rules, test data and license from nix-gitignore 2019-05-12 12:03:30 +02:00