Closed roberth closed 5 years ago
The rules are currently processed from start to end, but we only need the last match in order to determine the outcome. This will simplify the logic.
This code will be replaced:
https://github.com/hercules-ci/gitignore/blob/master/rules.nix#L30-L44
Done in #20
The rules are currently processed from start to end, but we only need the last match in order to determine the outcome. This will simplify the logic.
This code will be replaced:
https://github.com/hercules-ci/gitignore/blob/master/rules.nix#L30-L44