Title: Fix return type for Reference.isHead (typed as boolean, but returns a number) by dsabanin · Pull Request #1498 · nodegit/nodegit · GitHub
Open Graph Title: Fix return type for Reference.isHead (typed as boolean, but returns a number) by dsabanin · Pull Request #1498 · nodegit/nodegit
X Title: Fix return type for Reference.isHead (typed as boolean, but returns a number) by dsabanin · Pull Request #1498 · nodegit/nodegit
Description: Native Node bindings to Git. Contribute to nodegit/nodegit development by creating an account on GitHub.
Open Graph Description: Both API docs and TypeScript typings say that Reference.isHead returns boolean, while in fact it's just a wrapper around Branch.isHead that returns 0 for false, 1 for true. This change makes th...
X Description: Both API docs and TypeScript typings say that Reference.isHead returns boolean, while in fact it's just a wrapper around Branch.isHead that returns 0 for false, 1 for true. This change make...
Opengraph URL: https://github.com/nodegit/nodegit/pull/1498
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:44cd92ad-52b3-8940-f8e4-ad7a666974bc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94C2:63CEC:35D5299:484C8AA:69730E17 |
| html-safe-nonce | ff5e84caed68feab524c95792c5277a69fb1888e8d5b9fedd067aba35d193a0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEMyOjYzQ0VDOjM1RDUyOTk6NDg0QzhBQTo2OTczMEUxNyIsInZpc2l0b3JfaWQiOiI1MTkwMTE3MTE4ODExNzcwMzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8878bff7112a0a263542919fbd7fb32a8bbcd4ed4e5a766fb8f067fd3a271376 |
| hovercard-subject-tag | pull_request:188813032 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodegit/nodegit/pull/1498/commits |
| twitter:image | https://opengraph.githubassets.com/de1dcd4f23a4c49ee7f0942e83dda830441fd494798b3ee240c0f45c4e4cfe4a/nodegit/nodegit/pull/1498 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de1dcd4f23a4c49ee7f0942e83dda830441fd494798b3ee240c0f45c4e4cfe4a/nodegit/nodegit/pull/1498 |
| og:image:alt | Both API docs and TypeScript typings say that Reference.isHead returns boolean, while in fact it's just a wrapper around Branch.isHead that returns 0 for false, 1 for true. This change makes th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dsabanin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-cache |
| 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 | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width