| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:09fa0c5f-0abb-5741-6dc7-528126916575 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B1DA:3F6E8D:5C918BE:7F45DCE:6A5E5525 |
| html-safe-nonce | 609be0ef647b17ab67f0a1b848c0320f75c36cda6f931e87ac0be2b617480c1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMURBOjNGNkU4RDo1QzkxOEJFOjdGNDVEQ0U6NkE1RTU1MjUiLCJ2aXNpdG9yX2lkIjoiNzc5OTMyNjE5MjI4MTk5ODYyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 587eb49586737bcc04a7e8833422436ae55014a51f71b60a4c09823285c9ede5 |
| hovercard-subject-tag | pull_request:24460519 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodegit/nodegit/pull/276/files |
| twitter:image | https://avatars.githubusercontent.com/u/867780?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/867780?s=400&v=4 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7034b9f0130cdfcbd93bbcf3e8c0f4cc3007af54a2804bfd31f70d472b22852b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e75cd8524a0802713165f77a0088258ff9261683 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodegit/nodegit/pull/276/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F276%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F276%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=nodegit%2Fnodegit |
| Reload | https://github.com/nodegit/nodegit/pull/276/files |
| Reload | https://github.com/nodegit/nodegit/pull/276/files |
| Reload | https://github.com/nodegit/nodegit/pull/276/files |
| Please reload this page | https://github.com/nodegit/nodegit/pull/276/files |
|
nodegit
| https://github.com/nodegit |
| nodegit | https://github.com/nodegit/nodegit |
|
Notifications
| https://github.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Fork
698
| https://github.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Star
5.8k
| https://github.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Code
| https://github.com/nodegit/nodegit |
|
Issues
343
| https://github.com/nodegit/nodegit/issues |
|
Pull requests
20
| https://github.com/nodegit/nodegit/pulls |
|
Actions
| https://github.com/nodegit/nodegit/actions |
|
Projects
| https://github.com/nodegit/nodegit/projects |
|
Security and quality
0
| https://github.com/nodegit/nodegit/security |
|
Insights
| https://github.com/nodegit/nodegit/pulse |
|
Code
| https://github.com/nodegit/nodegit |
|
Issues
| https://github.com/nodegit/nodegit/issues |
|
Pull requests
| https://github.com/nodegit/nodegit/pulls |
|
Actions
| https://github.com/nodegit/nodegit/actions |
|
Projects
| https://github.com/nodegit/nodegit/projects |
|
Security and quality
| https://github.com/nodegit/nodegit/security |
|
Insights
| https://github.com/nodegit/nodegit/pulse |
| Sign up for GitHub
| https://github.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://github.com/login?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose |
| johnhaley81 | https://github.com/johnhaley81 |
| master | https://github.com/nodegit/nodegit/tree/master |
| update-examples | https://github.com/nodegit/nodegit/tree/update-examples |
|
Conversation
0
| https://github.com/nodegit/nodegit/pull/276 |
|
Commits
21
| https://github.com/nodegit/nodegit/pull/276/commits |
|
Checks
0
| https://github.com/nodegit/nodegit/pull/276/checks |
|
Files changed
| https://github.com/nodegit/nodegit/pull/276/files |
| Please reload this page | https://github.com/nodegit/nodegit/pull/276/files |
|
[WIP] Update examples
| https://github.com/nodegit/nodegit/pull/276/files#top |
|
Show all changes
21 commits
| https://github.com/nodegit/nodegit/pull/276/files |
|
1f173a4
Updated add-and-commit and added a create commit test
Nov 14, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/1f173a48b0509105fa27aa6a70d15e540a5c84f9 |
|
316f4ce
Updated the clone example
Nov 14, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/316f4ce522fd70871695709aafd88e39a31d7ef2 |
|
6dd55dd
Updated diff-commits
Nov 15, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/6dd55dd476e1b470c58545e8beedf131c78cba05 |
|
4612652
Fixed fetch example
Nov 15, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/46126522448a75a905f384cd90a2deb9a4494ad1 |
|
676facb
Remoted empty and not needed test files
Nov 15, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/676facb36b5f4ba269ef1f84abacb4167b5ed4a6 |
|
be09423
Added a fetch test
Nov 15, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/be094234c88bb4ae008b7e9d9a1a95de5e1a72c4 |
|
5ee90ea
Added in missing type odb_object
Nov 17, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/5ee90eaa5cb39a653b7dacf953a15379eb646e93 |
|
60eeac3
Removed static-types.json file
Nov 17, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/60eeac328a07d7f47db6481c818f8a825f299ebb |
|
32f7838
Added in odb_write
Nov 17, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/32f7838e5db23b044e9b7ea8b4af9d244c52bf5c |
|
deb4966
Fixed wrapper objects coming in from JS
Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/deb4966469794127f28bd5ce90b84d7223088f64 |
|
57658ec
Fixed some things with Tags being looked up
Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/57658ecae8383bb0e8ddb1574452061f485c80db |
|
ed1b9c8
Fixed index count, revwalks and references
Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/ed1b9c8a3ec5a95c4722aa9176892657de5fa294 |
|
0865212
Fixed general test
Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/0865212be5dd8f769d26049c3838ed32dc662846 |
|
4e0ee97
Added a bunch of new test cases
Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/4e0ee978919f58b23e122eae5f59651f2d607464 |
|
c409a98
fix a error in tree_entry path and add overrides
maxkorp Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/c409a98382eb9e715cbbb26740b22645ba65ea5e |
|
f0e254f
update examples -> walk-tree walk-history remove-and-commit
maxkorp Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/f0e254f46719b236bbf291eb455c2cb7193e3da6 |
|
665a102
update add-and-commit for sync signature.create
maxkorp Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/665a1028eaddac71a3fe82a9940329eefa354da0 |
|
a68867b
update general example for sync signature.create
maxkorp Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/a68867bbeb4fc8e97ae421b55474b83b0ed209cc |
|
6d87249
update read-file example to use promises
maxkorp Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/6d872496e16e9b6818474886d7f9fb4723284aaa |
|
f7585a2
make examples more consistant
maxkorp Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/f7585a26c0bffeb847b6e344379a0336f12e19ef |
|
46cdc7d
Removed the new-commit example for right now
Nov 19, 2014
| https://github.com/nodegit/nodegit/pull/276/commits/46cdc7de6c0f51fbb893ac1ba8cc1a1ba1671034 |
|
Clear filters
| https://github.com/nodegit/nodegit/pull/276/files |
| Please reload this page | https://github.com/nodegit/nodegit/pull/276/files |
| Please reload this page | https://github.com/nodegit/nodegit/pull/276/files |
|
add-and-commit.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-3a41a73410ae01a682a4c6a946598951d105f46b615a9f2970bcec3d804ecda9 |
|
clone.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-5546af839d79ce9f84242e2d3e944cd978c0909e79bb179f4f30b91c431027bf |
|
diff-commits.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-99789f13e0108c58611afeff67bae0cb0f95ba5cbe6941077441f74440a83243 |
|
fetch.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-e6700c6de33ece4046d8c53c6106f0ea101a4d5b8231c696dafaa75037765d36 |
|
general.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-e1163c0459de8e27fad2ed5221f95032bfc5f1de08f3ccff6a9451ce2bc1ce6f |
|
new-commit.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-d747288c3b800a34e60f8b3e688cf3aa392727a3571ed0daeb513dbb932e900c |
|
read-file.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-fb8c02cfdaaa1be8a965baaa8fef7373a62899bdae0a9a5cefe04aa974a9c44a |
|
remove-and-commit.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-69d871cb84f92e1c2706359ff577ba5432917aaddf8da0f9e24dfd283506faf9 |
|
walk-history.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-26acaf9a25634189cca734f1f8f5cca04dbff0eab57c89fe15731a363e59ecf8 |
|
walk-tree.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-1a0f5622c49c79ac145a91caa9cdbceb18ffa5cec428d417346f8e64ce8adb6b |
|
descriptor.json
| https://github.com/nodegit/nodegit/pull/276/files#diff-5c4f424be10b8c30e21c9969059b1f05946647bfa62ba2e1cb28c6d18784edc9 |
|
cpp_to_v8.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-bee747c195f424aef8fe28af49fe0a6ffcb834e73c5ee1a04a82b017f920d961 |
|
returns_info.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-a0f18a93c06d3fd86bb359f961a4f30b34fd444a36ddd187b764fea9cb9b5044 |
|
libgit2-supplement.json
| https://github.com/nodegit/nodegit/pull/276/files#diff-45f7d65e5783b01c6e69cbc10376fb3ba81b7e48995cfa4658052150d3b279fd |
|
async_function.cc
| https://github.com/nodegit/nodegit/pull/276/files#diff-b168da588705efb582804e4a2076684bdfb960acaec74868ab2be6453871f463 |
|
convert_from_v8.cc
| https://github.com/nodegit/nodegit/pull/276/files#diff-ad1785993bf1ab7d884e5a121fa975e51eec9ca1471ff69ca85dbc8f536182d5 |
|
sync_function.cc
| https://github.com/nodegit/nodegit/pull/276/files#diff-bd613098867f55d7074ed3c70e9afdf9c3cf06d9ec7dc952aa6115340bfbba37 |
|
setup.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-c354a9d1a1b459e2407cca9fc4a1648903ab8b004c41377832a4abf298d7ea66 |
|
static-types.json
| https://github.com/nodegit/nodegit/pull/276/files#diff-43df0c18a67a5e397858c4c2ebc9d09320aa14197d9e58cba24f9500e812960c |
|
convenient_hunk.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-e66011b69c185e0ca42cda29e4042be49cc2996146864ba33a6063dde1c31922 |
|
nodegit.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-f0e41c11b5fb371113ea71a2378dc5322d22090f58cedb95783d68bbd0064ef7 |
|
odb.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-c52f0fa5572cf6c96d83943a717c077e3b83274c3b421ca079f704e4eaa15cc9 |
|
odb_object.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-d0487ecdfbb37eb1d49e1c04bc715ac1423d2673d3d98c91604e16998edb606e |
|
repository.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-a5a24674185f8dddf909d0208f70be34ba44b2a6070948169ac766671a185ddc |
|
tag.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-c84cda2455a263a7c7e7dcd578dea49a2957d159e1e2ecad56414bd4eae76775 |
|
tree_entry.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-e772dfacdf287ea3d354b472ea0aa21a74776f2ab00a476e597daf9723e4e798 |
|
commit.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-3b419ffc8348f4dcf124be8438ac97fb674f372518b8a17bb389d6a30779ac78 |
|
convenient_hunk.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-1a28a7a3374be400c62dbebd89880786552eb46d84a8ac451cd57f49c1ab13ac |
|
convenient_patch.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-4ae5d72408710b60843893f80a29ce9b29ebc6b37eca02ecb9888d3d00dc5a90 |
|
index.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-96573bdf80e231a9f89bbf0461eb41f9f3efb144eaae1c0ca05a62335844106b |
|
odb.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-36f9016fdea1ef2c167b6d04dbaccea5051f7eba8b42a02c1bf6250d4c51eb56 |
|
oid.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-54613e171d1caf6f5b96d5a2d83007e87e9c40ba20adacc036495c86e204d981 |
|
refs.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-431f15ad697f3080aa12c9e9b8226768145494df9254d153ad8b9674ede136ab |
|
remote.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-e411c343534d30e9d6c16d83c75864a01c92dc8358fa6c96528b9f0d0700869e |
|
revwalk.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-3995cc9342ac9c9524674b4e9517a2966ca6c3dd251e2d7af01475f1dd794a79 |
|
tag.js
| https://github.com/nodegit/nodegit/pull/276/files#diff-0dd9abaec0235ec715e1646a5285e9693bd988bd0d8acb5965dbd4f85e494c8f |
| example/add-and-commit.js | https://github.com/nodegit/nodegit/pull/276/files#diff-3a41a73410ae01a682a4c6a946598951d105f46b615a9f2970bcec3d804ecda9 |
|
View file
| https://github.com/nodegit/nodegit/blob/46cdc7de6c0f51fbb893ac1ba8cc1a1ba1671034/example/add-and-commit.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodegit/nodegit/pull/276/{{ revealButtonHref }} |
| example/clone.js | https://github.com/nodegit/nodegit/pull/276/files#diff-5546af839d79ce9f84242e2d3e944cd978c0909e79bb179f4f30b91c431027bf |
|
View file
| https://github.com/nodegit/nodegit/blob/46cdc7de6c0f51fbb893ac1ba8cc1a1ba1671034/example/clone.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodegit/nodegit/pull/276/{{ revealButtonHref }} |
| example/diff-commits.js | https://github.com/nodegit/nodegit/pull/276/files#diff-99789f13e0108c58611afeff67bae0cb0f95ba5cbe6941077441f74440a83243 |
|
View file
| https://github.com/nodegit/nodegit/blob/46cdc7de6c0f51fbb893ac1ba8cc1a1ba1671034/example/diff-commits.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodegit/nodegit/pull/276/{{ revealButtonHref }} |
|
| https://github.com/nodegit/nodegit/pull/276/files#diff-99789f13e0108c58611afeff67bae0cb0f95ba5cbe6941077441f74440a83243 |
| example/fetch.js | https://github.com/nodegit/nodegit/pull/276/files#diff-e6700c6de33ece4046d8c53c6106f0ea101a4d5b8231c696dafaa75037765d36 |
|
View file
| https://github.com/nodegit/nodegit/blob/46cdc7de6c0f51fbb893ac1ba8cc1a1ba1671034/example/fetch.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodegit/nodegit/pull/276/{{ revealButtonHref }} |
| Please reload this page | https://github.com/nodegit/nodegit/pull/276/files |
|
| 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 |