-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow string input rather than a path #6
Comments
I'd be open to this, however I don't understand the motivation. Couldn't you just do |
It's for an interactive app where performance matters. Also, from a usability standpoint, it's cumbersome to keep a list of matchers and match paths against each of them. BTW. it's not a great deal, I can abstract this in a method, but we can gain usability and user-freindliness for no price, so I may submit a PR some time. |
Okay :) |
since I need a quick working solution, I made a fork ... @lisael - check out https://github.com/bitranox/igittigitt |
…nfiguration Possibility to specify ignore file name(s). #11 mherrmann/gitignore_parser#6
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
'swith open():
block ?The text was updated successfully, but these errors were encountered: