Title: Pull example doesn't fully update the index · Issue #389 · nodegit/nodegit · GitHub
Open Graph Title: Pull example doesn't fully update the index · Issue #389 · nodegit/nodegit
X Title: Pull example doesn't fully update the index · Issue #389 · nodegit/nodegit
Description: Following the pull example and doing a simple fast-forward pull you'll get the inverse of what was changed in your working directory. Repo Steps Checkout out the pull-example-dirty-index branch npm install && ./test.sh && cd downstream &...
Open Graph Description: Following the pull example and doing a simple fast-forward pull you'll get the inverse of what was changed in your working directory. Repo Steps Checkout out the pull-example-dirty-index branch npm...
X Description: Following the pull example and doing a simple fast-forward pull you'll get the inverse of what was changed in your working directory. Repo Steps Checkout out the pull-example-dirty-index branch...
Opengraph URL: https://github.com/nodegit/nodegit/issues/389
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pull example doesn't fully update the index","articleBody":"Following the pull example and doing a simple fast-forward pull you'll get the inverse of what was changed in your working directory.\n## Repo Steps\n\n1) Checkout out the [pull-example-dirty-index](https://github.com/nodegit/nodegit/tree/pull-example-dirty-index) branch\n2) `npm install \u0026\u0026 ./test.sh \u0026\u0026 cd downstream \u0026\u0026 git status`\n3) Notice that there is 1 deletion. I.e. the index isn't properly updated.\n\nDoing a `nodegit.Checkout.head` doesn't update the index either.\n\n[Possibly related pygit2 stack overflow question](http://stackoverflow.com/questions/27749418/implementing-pull-with-pygit2)\n\nOriginally reported by @ubercow\n","author":{"url":"https://github.com/johnhaley81","@type":"Person","name":"johnhaley81"},"datePublished":"2015-02-04T22:05:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/389/nodegit/issues/389"}
| 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:3ca57da6-efbf-d472-091c-881cc9a5c2e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE78:28B2AB:5F25E8:7E5F4E:6A5CCE6E |
| html-safe-nonce | ab9261b223c628f5e8ab4f7eb6c543ac60606207f8fcdb01dabcfdd5c5574a3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTc4OjI4QjJBQjo1RjI1RTg6N0U1RjRFOjZBNUNDRTZFIiwidmlzaXRvcl9pZCI6IjM5OTY5MDEyNjYxMzYyODg4NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e1133c88b31297de142fade8e39ac66d1d9c411c29b9d77e82aab2ed49b861f |
| hovercard-subject-tag | issue:56595003 |
| 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/389/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87db75efde785a04b10e701aeb32e26c5c5f14ee57beeb4a9915ac1aee4b30fc/nodegit/nodegit/issues/389 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87db75efde785a04b10e701aeb32e26c5c5f14ee57beeb4a9915ac1aee4b30fc/nodegit/nodegit/issues/389 |
| og:image:alt | Following the pull example and doing a simple fast-forward pull you'll get the inverse of what was changed in your working directory. Repo Steps Checkout out the pull-example-dirty-index branch npm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnhaley81 |
| 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