Replies: 1 comment
-
Thanks for sharing your thoughts! I turned this into a discussion in case there should be some brainstorming about how such API should look like with potential contributors. Please note that This also means that passing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Repo.iter_items / iter_commits normally limits itself to parents of HEAD.
However, if a GitPython program wants to iterate through all commits in a git repo, it can use a hack like this:
expecting the "--all" flag to be passed down to "git rev-list", and thence back to the python code. It would be nice if there were a more natural interface to expose this search, one that could also work with GitDB.
Beta Was this translation helpful? Give feedback.
All reactions