Title: repo.getReferenceCommit() does not work with annotated tags · Issue #1370 · nodegit/nodegit · GitHub
Open Graph Title: repo.getReferenceCommit() does not work with annotated tags · Issue #1370 · nodegit/nodegit
X Title: repo.getReferenceCommit() does not work with annotated tags · Issue #1370 · nodegit/nodegit
Description: The method getReferenceCommit() on a Repository works with a tag given in the form refs/tags/v0.1.5 only when the tag is a lightweight tag. If it is an annotated tag, calling this method results in an error: Error: the requested type doe...
Open Graph Description: The method getReferenceCommit() on a Repository works with a tag given in the form refs/tags/v0.1.5 only when the tag is a lightweight tag. If it is an annotated tag, calling this method results in...
X Description: The method getReferenceCommit() on a Repository works with a tag given in the form refs/tags/v0.1.5 only when the tag is a lightweight tag. If it is an annotated tag, calling this method results in...
Opengraph URL: https://github.com/nodegit/nodegit/issues/1370
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"repo.getReferenceCommit() does not work with annotated tags","articleBody":"The method `getReferenceCommit()` on a `Repository` works with a tag given in the form `refs/tags/v0.1.5` only when the tag is a lightweight tag. If it is an annotated tag, calling this method results in an error:\r\n\r\n```\r\nError: the requested type does not match the type in the ODB\r\n```\r\n\r\nSee also the discussion at https://gitter.im/nodegit/nodegit?at=59b5026e66c1c7c477342023","author":{"url":"https://github.com/rhuss","@type":"Person","name":"rhuss"},"datePublished":"2017-09-10T11:36:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/1370/nodegit/issues/1370"}
| 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:15bf4ce8-3718-2eae-ccdf-0e31f69946fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADA2:2407D:27F4628:3510BA4:6971C568 |
| html-safe-nonce | ed7c77214d35d9210cd4a140f45ac1d96fbc6ba735b9f882fa0ff614463082c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREEyOjI0MDdEOjI3RjQ2Mjg6MzUxMEJBNDo2OTcxQzU2OCIsInZpc2l0b3JfaWQiOiI1MDQwODY0MzkzOTM1NTcwMjgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8fbe562f776dbee926de1d106cf0793282ae501d107293e08f634a8b798b8b0e |
| hovercard-subject-tag | issue:256503902 |
| 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/nodegit/nodegit/1370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f51383f7d1997d8807b1111135a4213914355c71dcd36bd80536b83d56528bb7/nodegit/nodegit/issues/1370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f51383f7d1997d8807b1111135a4213914355c71dcd36bd80536b83d56528bb7/nodegit/nodegit/issues/1370 |
| og:image:alt | The method getReferenceCommit() on a Repository works with a tag given in the form refs/tags/v0.1.5 only when the tag is a lightweight tag. If it is an annotated tag, calling this method results in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rhuss |
| hostname | github.com |
| expected-hostname | github.com |
| None | ac615aa66802dad9a938c6abe95edf09ee43c0c7f508315b64b08612858ef32e |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| 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 | 6b618569a5f93e0b31f97f620112341421ef5f69 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width