| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:826e349c-84bf-b4b3-2b3f-dcf860aabfd6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B3A4:32E262:A55740:DF63A1:697015E6 |
| html-safe-nonce | d85612581e36ece8bff2d52d918bfc72113e3c3c6a768118754945fdbfbe2026 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0E0OjMyRTI2MjpBNTU3NDA6REY2M0ExOjY5NzAxNUU2IiwidmlzaXRvcl9pZCI6IjY2NDU5NTczMTUyNzYwNTE5NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d5f4d5dd51d0772d102027d11a62d9671929825934c55c3a752014716f7ad734 |
| hovercard-subject-tag | pull_request:115239266 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodegit/nodegit/1267/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/de1dcd4f23a4c49ee7f0942e83dda830441fd494798b3ee240c0f45c4e4cfe4a/nodegit/nodegit/pull/1267 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de1dcd4f23a4c49ee7f0942e83dda830441fd494798b3ee240c0f45c4e4cfe4a/nodegit/nodegit/pull/1267 |
| og:image:alt | libgit2 exposes a git_commit_tree function for retrieving the Tree of a Commit object. In NodeGit, we have our own custom getTree() which does the same thing.
The tree(tree_out) function needs a po... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcjsuen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c |
| 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 | 98881eadf8ae73000970c42161c094b0809b1330 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F1267 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F1267 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodegit%2Fnodegit |
| Reload | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| Reload | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| Reload | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
|
nodegit
| https://patch-diff.githubusercontent.com/nodegit |
| nodegit | https://patch-diff.githubusercontent.com/nodegit/nodegit |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Fork
697
| https://patch-diff.githubusercontent.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Star
5.8k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Code
| https://patch-diff.githubusercontent.com/nodegit/nodegit |
|
Issues
343
| https://patch-diff.githubusercontent.com/nodegit/nodegit/issues |
|
Pull requests
19
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/nodegit/nodegit/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/nodegit/nodegit/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/nodegit/nodegit/security |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
|
Insights
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pulse |
|
Code
| https://patch-diff.githubusercontent.com/nodegit/nodegit |
|
Issues
| https://patch-diff.githubusercontent.com/nodegit/nodegit/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/nodegit/nodegit/actions |
|
Projects
| https://patch-diff.githubusercontent.com/nodegit/nodegit/projects |
|
Security
| https://patch-diff.githubusercontent.com/nodegit/nodegit/security |
|
Insights
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issue-comment-box |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| nodegit:master | https://patch-diff.githubusercontent.com/nodegit/nodegit/tree/master |
| rcjsuen:remove-commit-tree | https://patch-diff.githubusercontent.com/rcjsuen/nodegit/tree/remove-commit-tree |
|
Remove git_commit_tree which duplicates commit.getTree()
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#top |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| nodegit:master | https://patch-diff.githubusercontent.com/nodegit/nodegit/tree/master |
| rcjsuen:remove-commit-tree | https://patch-diff.githubusercontent.com/rcjsuen/nodegit/tree/remove-commit-tree |
|
Conversation
5
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
|
Commits
2
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/checks |
|
Files changed
11
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/files |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| Apr 11, 2017 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issue-220836811 |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| git_commit_tree | https://libgit2.github.com/libgit2/#v0.25.1/group/commit/git_commit_tree |
| getTree() | https://github.com/nodegit/nodegit/blob/7ac2119819ac5ecc21c5b789953c815f2dbb62de/lib/commit.js#L165-L173 |
| tree(tree_out) | http://www.nodegit.org/api/commit/#tree |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| https://patch-diff.githubusercontent.com/maxkorp |
| maxkorp | https://patch-diff.githubusercontent.com/maxkorp |
| Apr 18, 2017 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issuecomment-294931549 |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| Apr 18, 2017 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issuecomment-294973052 |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| https://patch-diff.githubusercontent.com/implausible |
| implausible | https://patch-diff.githubusercontent.com/implausible |
| Oct 13, 2017 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issuecomment-336544518 |
| @rcjsuen | https://github.com/rcjsuen |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| Oct 23, 2017 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issuecomment-338807734 |
| @implausible | https://github.com/implausible |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| force-pushed | https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/a9057c0dcf2d3b69a1a592a1cfb02ebe73de8d29..0537fd6aa18b2c758f1c258b830dd9f9f7001f27 |
| a9057c0 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/a9057c0dcf2d3b69a1a592a1cfb02ebe73de8d29 |
| 0537fd6 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/0537fd6aa18b2c758f1c258b830dd9f9f7001f27 |
|
Compare
| https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/a9057c0dcf2d3b69a1a592a1cfb02ebe73de8d29..0537fd6aa18b2c758f1c258b830dd9f9f7001f27 |
| October 24, 2017 10:57 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#event-1307482595 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| Oct 24, 2017 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#issuecomment-338982649 |
| @implausible | https://github.com/implausible |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| force-pushed | https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/0537fd6aa18b2c758f1c258b830dd9f9f7001f27..e570bdc54699bb45f9f76c15b7538e59ae195d81 |
| 0537fd6 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/0537fd6aa18b2c758f1c258b830dd9f9f7001f27 |
| e570bdc | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/e570bdc54699bb45f9f76c15b7538e59ae195d81 |
|
Compare
| https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/0537fd6aa18b2c758f1c258b830dd9f9f7001f27..e570bdc54699bb45f9f76c15b7538e59ae195d81 |
| November 29, 2017 09:22 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#event-1363102007 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| force-pushed | https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/e570bdc54699bb45f9f76c15b7538e59ae195d81..8fc9dfd6dc9c2d82cc295ef2e3c78f090ba43d0a |
| e570bdc | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/e570bdc54699bb45f9f76c15b7538e59ae195d81 |
| 8fc9dfd | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/8fc9dfd6dc9c2d82cc295ef2e3c78f090ba43d0a |
|
Compare
| https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/e570bdc54699bb45f9f76c15b7538e59ae195d81..8fc9dfd6dc9c2d82cc295ef2e3c78f090ba43d0a |
| December 20, 2017 21:34 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#event-1396934670 |
|
| https://patch-diff.githubusercontent.com/rcjsuen |
| Remove handwritten commit.getTree() function | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/commits/1da88f382d920dafa6141bb40c947a661989f317 |
| 1da88f3 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/commits/1da88f382d920dafa6141bb40c947a661989f317 |
| https://patch-diff.githubusercontent.com/rcjsuen |
| rcjsuen | https://patch-diff.githubusercontent.com/rcjsuen |
| force-pushed | https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/8fc9dfd6dc9c2d82cc295ef2e3c78f090ba43d0a..1da88f382d920dafa6141bb40c947a661989f317 |
| 8fc9dfd | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/8fc9dfd6dc9c2d82cc295ef2e3c78f090ba43d0a |
| 1da88f3 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/1da88f382d920dafa6141bb40c947a661989f317 |
|
Compare
| https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/8fc9dfd6dc9c2d82cc295ef2e3c78f090ba43d0a..1da88f382d920dafa6141bb40c947a661989f317 |
| March 19, 2018 21:44 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#event-1529610896 |
|
| https://patch-diff.githubusercontent.com/rcjsuen |
| Merge branch 'master' into remove-commit-tree | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/commits/0583a1dc276f499001967733bdec9ff8a2929f5e |
| 0583a1d | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267/commits/0583a1dc276f499001967733bdec9ff8a2929f5e |
| https://patch-diff.githubusercontent.com/implausible |
| implausible | https://patch-diff.githubusercontent.com/implausible |
| force-pushed | https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/c345989a4ee644390d91b6383172308eda625cc0..c67b43687909c0cd5841276a9d20f3f364907d65 |
| c345989 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/c345989a4ee644390d91b6383172308eda625cc0 |
| c67b436 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/c67b43687909c0cd5841276a9d20f3f364907d65 |
|
Compare
| https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/c345989a4ee644390d91b6383172308eda625cc0..c67b43687909c0cd5841276a9d20f3f364907d65 |
| August 26, 2019 22:49 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#event-2585229674 |
| https://patch-diff.githubusercontent.com/implausible |
| implausible | https://patch-diff.githubusercontent.com/implausible |
| force-pushed | https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/2b7db4606016f7a3baf21071d9576e271fbe22cd..69b010a1125ebaa2afee955dd465cc5ef4c125d4 |
| 2b7db46 | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/2b7db4606016f7a3baf21071d9576e271fbe22cd |
| 69b010a | https://patch-diff.githubusercontent.com/nodegit/nodegit/commit/69b010a1125ebaa2afee955dd465cc5ef4c125d4 |
|
Compare
| https://patch-diff.githubusercontent.com/nodegit/nodegit/compare/2b7db4606016f7a3baf21071d9576e271fbe22cd..69b010a1125ebaa2afee955dd465cc5ef4c125d4 |
| July 28, 2020 17:26 | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267#event-3595422078 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F1267 |
| Please reload this page | https://patch-diff.githubusercontent.com/nodegit/nodegit/pull/1267 |
|
| https://patch-diff.githubusercontent.com/rcjsuen |
|
| https://patch-diff.githubusercontent.com/maxkorp |
|
| https://patch-diff.githubusercontent.com/implausible |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |