| 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:e055051c-340c-62ad-f2ed-385207f20980 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9482:197DBD:4BD735E:64C178E:6A5D9D39 |
| html-safe-nonce | e96a3b0e3a428aa8586894317c8f052b1da8765a56d2406781c55abaf30d631c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDgyOjE5N0RCRDo0QkQ3MzVFOjY0QzE3OEU6NkE1RDlEMzkiLCJ2aXNpdG9yX2lkIjoiMjI5MDE4MDUwMjIyMDI4MzE5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e1096f59d621a228b99d534a962042dc7d6734b870e2ffdc0871d6e4cf57b3df |
| hovercard-subject-tag | pull_request:75220037 |
| 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/libgit2/libgit2/3839/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/46af4c070d25bb3f0094e04607054598c2c0925567fdd930d4ced1fce3c543bf/libgit2/libgit2/pull/3839 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46af4c070d25bb3f0094e04607054598c2c0925567fdd930d4ced1fce3c543bf/libgit2/libgit2/pull/3839 |
| og:image:alt | Our current checkout implementation looks to see if the working directory is dirty to determine whether it's safe to checkout a given file. It does not look at the index, however.
This is fine... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ethomson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| 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 |
| Skip to content | https://github.com/libgit2/libgit2/pull/3839#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F3839 |
| 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 |
| 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%2Flibgit2%2Flibgit2%2Fpull%2F3839 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=libgit2%2Flibgit2 |
| Reload | https://github.com/libgit2/libgit2/pull/3839 |
| Reload | https://github.com/libgit2/libgit2/pull/3839 |
| Reload | https://github.com/libgit2/libgit2/pull/3839 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
|
libgit2
| https://github.com/libgit2 |
| libgit2 | https://github.com/libgit2/libgit2 |
|
Notifications
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Fork
2.6k
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Star
10.5k
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Code
| https://github.com/libgit2/libgit2 |
|
Issues
423
| https://github.com/libgit2/libgit2/issues |
|
Pull requests
108
| https://github.com/libgit2/libgit2/pulls |
|
Discussions
| https://github.com/libgit2/libgit2/discussions |
|
Actions
| https://github.com/libgit2/libgit2/actions |
|
Projects
| https://github.com/libgit2/libgit2/projects |
|
Security and quality
9
| https://github.com/libgit2/libgit2/security |
|
Insights
| https://github.com/libgit2/libgit2/pulse |
|
Code
| https://github.com/libgit2/libgit2 |
|
Issues
| https://github.com/libgit2/libgit2/issues |
|
Pull requests
| https://github.com/libgit2/libgit2/pulls |
|
Discussions
| https://github.com/libgit2/libgit2/discussions |
|
Actions
| https://github.com/libgit2/libgit2/actions |
|
Projects
| https://github.com/libgit2/libgit2/projects |
|
Security and quality
| https://github.com/libgit2/libgit2/security |
|
Insights
| https://github.com/libgit2/libgit2/pulse |
| ethomson | https://github.com/ethomson |
| main | https://github.com/libgit2/libgit2/tree/main |
| ethomson/checkout_conflict_respect_index | https://github.com/libgit2/libgit2/tree/ethomson/checkout_conflict_respect_index |
| Conversation | https://github.com/libgit2/libgit2/pull/3839 |
| Commits8 (8) | https://github.com/libgit2/libgit2/pull/3839/commits |
| Checks | https://github.com/libgit2/libgit2/pull/3839/checks |
| Files changed | https://github.com/libgit2/libgit2/pull/3839/files |
| WIP: respect index during checkout | https://github.com/libgit2/libgit2/pull/3839#top |
| ethomson | https://github.com/ethomson |
| main | https://github.com/libgit2/libgit2/tree/main |
| ethomson/checkout_conflict_respect_index | https://github.com/libgit2/libgit2/tree/ethomson/checkout_conflict_respect_index |
|
| https://github.com/ethomson |
| ethomson | https://github.com/ethomson |
| Jun 26, 2016 | https://github.com/libgit2/libgit2/pull/3839#issue-162309829 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| June 25, 2016 18:05 | https://github.com/libgit2/libgit2/pull/3839#commits-pushed-1c89aad |
| checkout: test force checkout when wd reverted | https://github.com/libgit2/libgit2/pull/3839/commits/1c89aadd73f4516bd6c7fa9dff39df69a2ee3316 |
| 1c89aad | https://github.com/libgit2/libgit2/pull/3839/commits/1c89aadd73f4516bd6c7fa9dff39df69a2ee3316 |
| checkout: treat files as modified if index differs | https://github.com/libgit2/libgit2/pull/3839/commits/2518419899d69762de4cbf5f64e83db7f0af6e0d |
| 2518419 | https://github.com/libgit2/libgit2/pull/3839/commits/2518419899d69762de4cbf5f64e83db7f0af6e0d |
| checkout: test force checkout when mode changes | https://github.com/libgit2/libgit2/pull/3839/commits/d53e99f584648884ce0e972e6422c3c3e4c1901f |
| d53e99f | https://github.com/libgit2/libgit2/pull/3839/commits/d53e99f584648884ce0e972e6422c3c3e4c1901f |
| checkout: treat files as modified if mode differs | https://github.com/libgit2/libgit2/pull/3839/commits/d2b6a63fd243e1de8e6f8c12faf99ff7185ac2da |
| d2b6a63 | https://github.com/libgit2/libgit2/pull/3839/commits/d2b6a63fd243e1de8e6f8c12faf99ff7185ac2da |
| checkout: dirty index should conflict on deletes | https://github.com/libgit2/libgit2/pull/3839/commits/175728d4b966765ca4da0e09327e2972bb733ac7 |
| 175728d | https://github.com/libgit2/libgit2/pull/3839/commits/175728d4b966765ca4da0e09327e2972bb733ac7 |
| checkout: dirty index should conflict on mod | https://github.com/libgit2/libgit2/pull/3839/commits/e1ca3886f5acf99135510f6727daa7495be99f7d |
| e1ca388 | https://github.com/libgit2/libgit2/pull/3839/commits/e1ca3886f5acf99135510f6727daa7495be99f7d |
| testrepo: introduce typechange branch | https://github.com/libgit2/libgit2/pull/3839/commits/45405a74fc7f6684ae83be4c16b76b84986c6113 |
| 45405a7 | https://github.com/libgit2/libgit2/pull/3839/commits/45405a74fc7f6684ae83be4c16b76b84986c6113 |
| checkout: dirty index should conflict on typechange | https://github.com/libgit2/libgit2/pull/3839/commits/cf7206f8d32a46b348c2b48bea47583c9bd9929d |
| cf7206f | https://github.com/libgit2/libgit2/pull/3839/commits/cf7206f8d32a46b348c2b48bea47583c9bd9929d |
| pks-t | https://github.com/pks-t |
|
Jun 27, 2016
| https://github.com/libgit2/libgit2/pull/3839#discussion-diff-68584464 |
| View reviewed changes
| https://github.com/libgit2/libgit2/pull/3839/files/1c89aadd73f4516bd6c7fa9dff39df69a2ee3316#diff-e3866d0cd7fb38e09faf8fd6295a693a5cb23a7dcbcf85250c89bff51713a7be |
| tests/checkout/tree.c | https://github.com/libgit2/libgit2/pull/3839/files#diff-e3866d0cd7fb38e09faf8fd6295a693a5cb23a7dcbcf85250c89bff51713a7be |
| pks-t | https://github.com/pks-t |
| Jun 27, 2016 | https://github.com/libgit2/libgit2/pull/3839#discussion_r68584464 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| https://github.com/ethomson |
| ethomson | https://github.com/ethomson |
|
Feb 17, 2017
| https://github.com/libgit2/libgit2/pull/3839#ref-pullrequest-208399256 |
|
Forced checkout
#4129
| https://github.com/libgit2/libgit2/pull/4129 |
| https://github.com/cjhoward92 |
| cjhoward92 | https://github.com/cjhoward92 |
| Oct 4, 2017 | https://github.com/libgit2/libgit2/pull/3839#issuecomment-334228723 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| https://github.com/ethomson |
| ethomson | https://github.com/ethomson |
| Oct 5, 2017 | https://github.com/libgit2/libgit2/pull/3839#issuecomment-334455475 |
| @cjhoward92 | https://github.com/cjhoward92 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| https://github.com/cjhoward92 |
| cjhoward92 | https://github.com/cjhoward92 |
| Oct 5, 2017 | https://github.com/libgit2/libgit2/pull/3839#issuecomment-334488674 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| https://github.com/ethomson |
| ethomson | https://github.com/ethomson |
|
Oct 7, 2017
| https://github.com/libgit2/libgit2/pull/3839#ref-pullrequest-263593724 |
|
Checkout typechange-only deltas
#4369
| https://github.com/libgit2/libgit2/pull/4369 |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
| Mar 26, 2018 | https://github.com/libgit2/libgit2/pull/3839#issuecomment-376142089 |
| @ethomson | https://github.com/ethomson |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
| January 7, 2021 10:09 | https://github.com/libgit2/libgit2/pull/3839#event-4179154415 |
| https://github.co/hiddenchars |
| https://github.com/libgit2/libgit2/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F3839 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/3839 |
|
| https://github.com/ethomson |
|
| https://github.com/cjhoward92 |
|
| https://github.com/pks-t |
|
| 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 |