Title: rev_parse does not handle
Open Graph Title: rev_parse does not handle
X Title: rev_parse does not handle
Description: git rev-parse
Open Graph Description: git rev-parse
X Description: git rev-parse <tag>^{commit} resolves to the commit that the tag points to. repo.rev_parse("<tag>^{commit}") says ValueError: Could not accommodate requested object type '...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1995
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"rev_parse does not handle \u003ctag\u003e^{commit} correctly","articleBody":"`git rev-parse \u003ctag\u003e^{commit} ` resolves to the commit that the tag points to.\r\n\r\n`repo.rev_parse(\"\u003ctag\u003e^{commit}\")` says `ValueError: Could not accommodate requested object type 'commit', got tag`\r\n\r\nIt should instead return `TagObject.object` (at least if that is a commit object).\r\n\r\n","author":{"url":"https://github.com/flichtenheld","@type":"Person","name":"flichtenheld"},"datePublished":"2025-01-09T16:03:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1995/GitPython/issues/1995"}
| 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:49993315-5424-5df1-3b13-0d2a38b500bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE34:292571:B8A3D9:F543A5:69687C45 |
| html-safe-nonce | 25a6d55421811cbcfbfede629ad036fc688cf6ca5115a881fae1342d5519777e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTM0OjI5MjU3MTpCOEEzRDk6RjU0M0E1OjY5Njg3QzQ1IiwidmlzaXRvcl9pZCI6Ijc5NTI0MTA5NzcxNTc4MDcxNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8acf77e843b507777d5c131678d720658629098b3471b96679be191855f86ee7 |
| hovercard-subject-tag | issue:2778218650 |
| 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/1995/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e7764b45d31e8e55015327ae05fb9e522f12af5b181fef81ccfa6c61272c5ee5/gitpython-developers/GitPython/issues/1995 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e7764b45d31e8e55015327ae05fb9e522f12af5b181fef81ccfa6c61272c5ee5/gitpython-developers/GitPython/issues/1995 |
| og:image:alt | git rev-parse |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flichtenheld |
| hostname | github.com |
| expected-hostname | github.com |
| None | 50f46dc2d6192249fd8ebf20e76c800f4f2596d4a5f3ab63dd63a754df154f54 |
| 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 | fef287f17234b4529a4b112a3d47fe8551e32ddd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width