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:512be81d-0d98-48e3-ea35-19554b58c8aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8530:1860A8:3AD228:522114:696A68DB |
| html-safe-nonce | a7e3461acac683d6c7324ab36eb3882fccbdf2f810feb6655a882309b3fa6f8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTMwOjE4NjBBODozQUQyMjg6NTIyMTE0OjY5NkE2OERCIiwidmlzaXRvcl9pZCI6Ijc0NzI1ODI3NjE1MDQwNTMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 869c5066cc8e1d686cc4e7e883ba483d41665d1df8b4a0f55a31a407b450a2e0 |
| 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 | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| 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 | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width