Title: enable Index.addAll and related · Issue #131 · nodegit/nodegit · GitHub
Open Graph Title: enable Index.addAll and related · Issue #131 · nodegit/nodegit
X Title: enable Index.addAll and related · Issue #131 · nodegit/nodegit
Description: tree.diffWorkDir only returns changes to existing files. It does not seem return any new files added. Basically, I want something that will act like git add -A . from the base working directory. Also, tree.diffWorkDir only seems to work ...
Open Graph Description: tree.diffWorkDir only returns changes to existing files. It does not seem return any new files added. Basically, I want something that will act like git add -A . from the base working directory. Al...
X Description: tree.diffWorkDir only returns changes to existing files. It does not seem return any new files added. Basically, I want something that will act like git add -A . from the base working directory. Al...
Opengraph URL: https://github.com/nodegit/nodegit/issues/131
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"enable Index.addAll and related","articleBody":"`tree.diffWorkDir` only returns changes to existing files. It does not seem return any new files added. Basically, I want something that will act like `git add -A .` from the base working directory. \n\nAlso, `tree.diffWorkDir` only seems to work once there's been an initial commit. Is there a better way to add all the files in a directory to the index, than walking recursively through the directory structure and calling `index.addByPath` for each file?\n","author":{"url":"https://github.com/fyockm","@type":"Person","name":"fyockm"},"datePublished":"2014-02-07T14:46:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/131/nodegit/issues/131"}
| 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:ebf50440-14b6-8edc-ef4c-33aa24dbb431 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E508:259B7A:4BFAA1:66569E:6A5FCAD3 |
| html-safe-nonce | 7d25374e049e6fdf0f7fdfe5a9ec50f6498d482cad04aa278812cb3261fe052e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTA4OjI1OUI3QTo0QkZBQTE6NjY1NjlFOjZBNUZDQUQzIiwidmlzaXRvcl9pZCI6IjQyNjQ0NzY3MDIxODAxMDA4MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | baea9ca54c62df645f56a2dc59c1f72607899912ab4356521472bad96af63495 |
| hovercard-subject-tag | issue:27139112 |
| 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/131/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fbfce1f4c772d04dc44b0680d32063e6d2bffdc241ec7260c26e94b2ce0d4f9d/nodegit/nodegit/issues/131 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fbfce1f4c772d04dc44b0680d32063e6d2bffdc241ec7260c26e94b2ce0d4f9d/nodegit/nodegit/issues/131 |
| og:image:alt | tree.diffWorkDir only returns changes to existing files. It does not seem return any new files added. Basically, I want something that will act like git add -A . from the base working directory. Al... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fyockm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8b098704642cd5473d3dc9d5d8023399a68de27a0492776c4517d75af6710ead |
| 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 | d9cb40632285451ad16923c07a6f2debe8279086 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width