Title: formally supported method to iterate through all commits · Issue #1424 · gitpython-developers/GitPython · GitHub
Open Graph Title: formally supported method to iterate through all commits · Issue #1424 · gitpython-developers/GitPython
X Title: formally supported method to iterate through all commits · Issue #1424 · gitpython-developers/GitPython
Description: 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: r = git.Repo('/path') for commit in r.iter_commits...
Open Graph Description: 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: r = git.Re...
X Description: 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: r = git.Re...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1424
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"formally supported method to iterate through all commits","articleBody":"Repo.iter_items / iter_commits normally limits itself to parents of HEAD.\r\nHowever, if a GitPython program wants to iterate through all commits in a git repo, it can use a hack like this:\r\n\r\n r = git.Repo('/path')\r\n for commit in r.iter_commits('--all'):\r\n pass\r\n\r\nexpecting 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.","author":{"url":"https://github.com/fche","@type":"Person","name":"fche"},"datePublished":"2022-04-07T11:24:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1424/GitPython/issues/1424"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:957bc08f-a2e5-38c4-8c6a-97222bc71abc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAD8:15D913:CA76A3:1153ABE:6A63BD24 |
| html-safe-nonce | 87f15eb0ab19fc50a215c4bb67d7d0275c2b01a5d7aba501477446cc45bf024b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUQ4OjE1RDkxMzpDQTc2QTM6MTE1M0FCRTo2QTYzQkQyNCIsInZpc2l0b3JfaWQiOiI3Njc0ODYwODYwNzIyMjA5NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | faef8c077c9683d28204eaac468266576559c9cb5eae0167acf15104209fd936 |
| hovercard-subject-tag | issue:1195905715 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1424/issue_layout |
| twitter:image | https://opengraph.githubassets.com/608576e62f6e5b985edeb9efff0326ab5a19e2710be11d952383b58c7cf17525/gitpython-developers/GitPython/issues/1424 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/608576e62f6e5b985edeb9efff0326ab5a19e2710be11d952383b58c7cf17525/gitpython-developers/GitPython/issues/1424 |
| og:image:alt | 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: r = git.Re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fche |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4c1c4f1792dfc705b5a5073fed6c61988f59766cec1277f24f55d4b876f9881c |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fefaad6f0be5c33f57f42bb65ed668f74c872364 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width