Title: tree_entry path function not working when calling getEntry with a path including subdir · Issue #570 · nodegit/nodegit · GitHub
Open Graph Title: tree_entry path function not working when calling getEntry with a path including subdir · Issue #570 · nodegit/nodegit
X Title: tree_entry path function not working when calling getEntry with a path including subdir · Issue #570 · nodegit/nodegit
Description: When building the path of a tree entry, nodegit recursively take the path of each entry's tree parent. However this does not work if the entry was in a subdir of the parent tree because then we'll be missing the subdir. As an example: ge...
Open Graph Description: When building the path of a tree entry, nodegit recursively take the path of each entry's tree parent. However this does not work if the entry was in a subdir of the parent tree because then we'll ...
X Description: When building the path of a tree entry, nodegit recursively take the path of each entry's tree parent. However this does not work if the entry was in a subdir of the parent tree because then we...
Opengraph URL: https://github.com/nodegit/nodegit/issues/570
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tree_entry path function not working when calling getEntry with a path including subdir","articleBody":"When building the path of a tree entry, nodegit recursively take the path of each entry's tree parent.\nHowever this does not work if the entry was in a subdir of the parent tree because then we'll be missing the subdir.\n\nAs an example:\ngetEntry(\"test/rawcommit.js\") =\u003e entry path will be returned as \"rawcommit.js\"\n\n I'm submitting a push request + test with a potential fix for discussion\n","author":{"url":"https://github.com/jfremy","@type":"Person","name":"jfremy"},"datePublished":"2015-05-15T10:07:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/570/nodegit/issues/570"}
| 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:65b94b07-3a1a-5547-790c-8e28fe6f141b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96B2:3A2E8:486A119:6020DB8:6A5D8E50 |
| html-safe-nonce | 7210fc4eca692a00d6e53102fc04c7a4f4345d8e695155bf55311647ee56c41d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkIyOjNBMkU4OjQ4NkExMTk6NjAyMERCODo2QTVEOEU1MCIsInZpc2l0b3JfaWQiOiI2MzQxMjkxOTI4OTU0MTc5MTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0cbc23618516c7113a01f6cd0e87ad53d71de5bdae2f9d24e9757bee3de02d32 |
| hovercard-subject-tag | issue:76676901 |
| 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/570/issue_layout |
| twitter:image | https://opengraph.githubassets.com/355e3b26a3c6eebb071a8f5102630d48bb131ff3ff19bd28cc7a4cecc128f151/nodegit/nodegit/issues/570 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/355e3b26a3c6eebb071a8f5102630d48bb131ff3ff19bd28cc7a4cecc128f151/nodegit/nodegit/issues/570 |
| og:image:alt | When building the path of a tree entry, nodegit recursively take the path of each entry's tree parent. However this does not work if the entry was in a subdir of the parent tree because then we'll ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jfremy |
| 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