We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Adjust git.utils.IterableList to be more convenient.
Implement the 'contains' method to allow something like: "upsteam" in repo.heads
"upsteam" in repo.heads
The text was updated successfully, but these errors were encountered:
Ultra-belated 👍 to this, running into bugs like:
>>> 'foo' in r.remotes Traceback (most recent call last): File "<stdin>", line 1, in <module> File "…/site-packages/git/util.py", line 593, in __contains__ rval = list.__contains__(self, attr) File "…/site-packages/git/remote.py", line 405, in __eq__ return self.name == other.name AttributeError: 'str' object has no attribute 'name'
Sorry, something went wrong.
Wrapped up the fix for gitpython-developers/GitPython#11
9f0a87a
It seems this one has been fixed quite a while ago.
Byron
No branches or pull requests
Adjust git.utils.IterableList to be more convenient.
Implement the 'contains' method to allow something like:
"upsteam" in repo.heads
The text was updated successfully, but these errors were encountered: