Title: Abort on getRemotes · Issue #201 · nodegit/nodegit · GitHub
Open Graph Title: Abort on getRemotes · Issue #201 · nodegit/nodegit
X Title: Abort on getRemotes · Issue #201 · nodegit/nodegit
Description: Assuming the following repo: cd /tmp mkdir nodegit-test cd nodegit-test git init . touch 'test' git commit -m 'first commit' git remote add origin git@github.com:example/example.git Running repo.getRemotes(function(err, remotes) will res...
Open Graph Description: Assuming the following repo: cd /tmp mkdir nodegit-test cd nodegit-test git init . touch 'test' git commit -m 'first commit' git remote add origin git@github.com:example/example.git Running repo.ge...
X Description: Assuming the following repo: cd /tmp mkdir nodegit-test cd nodegit-test git init . touch 'test' git commit -m 'first commit' git remote add origin git@github.com:example/example.git...
Opengraph URL: https://github.com/nodegit/nodegit/issues/201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Abort on getRemotes","articleBody":"Assuming the following repo:\n\n``` shell\ncd /tmp\nmkdir nodegit-test\ncd nodegit-test\ngit init .\ntouch 'test'\ngit commit -m 'first commit'\ngit remote add origin git@github.com:example/example.git\n```\n\nRunning `repo.getRemotes(function(err, remotes)` will result on `[1] 39497 abort node test.js` with the following code:\n\n``` javascript\ngit = require('nodegit')\n\ngit.Repo.open('/tmp/nodegit-test/.git', function(err, repo){\n if (err) {\n console.error(err);\n process.exit(1);\n }\n\n repo.getRemotes(function(err, remotes){\n // the following will never get called\n console.log(err)\n console.log(remotes)\n });\n});\n```\n\nThis is on OSX 10.9.4, and `git --version = 2.0.1`.\n\nI'm hoping it's me doing something the wrong way, but if the repo has no remotes, then an empty array is returned without any problems. \n","author":{"url":"https://github.com/unRob","@type":"Person","name":"unRob"},"datePublished":"2014-07-17T08:05:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/201/nodegit/issues/201"}
| 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:036dde16-cafb-1ded-63dd-689f96c2922c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F46:A0835:3F35666:52D0BE8:6A5D263E |
| html-safe-nonce | bca8f73c2e1eea2df0fc6bb51769ee06bdec65028d9fb9f9a52ddff4f7f993bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjQ2OkEwODM1OjNGMzU2NjY6NTJEMEJFODo2QTVEMjYzRSIsInZpc2l0b3JfaWQiOiIxNTQyMzIzNjMzOTUxNDE3OTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bd146c245826e6b8c55636b9bad8be78762b0e5ef39d66ac6080f678677550f7 |
| hovercard-subject-tag | issue:38056473 |
| 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/201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9764bcf9ee3ddd3ff908e243acbf62755987ef88de2c3c3dff0e646b330f48dd/nodegit/nodegit/issues/201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9764bcf9ee3ddd3ff908e243acbf62755987ef88de2c3c3dff0e646b330f48dd/nodegit/nodegit/issues/201 |
| og:image:alt | Assuming the following repo: cd /tmp mkdir nodegit-test cd nodegit-test git init . touch 'test' git commit -m 'first commit' git remote add origin git@github.com:example/example.git Running repo.ge... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | unRob |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width