Hi,
The premise of this issue is that I want to ignore patterns from .gitignore and .git/info/exclude as well (for local ignores). For performance reasons, it's probably better to use a single matcher for both files.
I noticed in #1 that you don't want to spend time on the project. Would you accept a PR of a small change that adds an function that take a file-like object as argument and does what's in parse_gitignore's with open(): block ?
Hi,
The premise of this issue is that I want to ignore patterns from
.gitignoreand.git/info/excludeas well (for local ignores). For performance reasons, it's probably better to use a single matcher for both files.I noticed in #1 that you don't want to spend time on the project. Would you accept a PR of a small change that adds an function that take a file-like object as argument and does what's in
parse_gitignore'swith open():block ?