René's URL Explorer Experiment


Title: WIP: respect index during checkout by ethomson · Pull Request #3839 · libgit2/libgit2 · GitHub

Open Graph Title: WIP: respect index during checkout by ethomson · Pull Request #3839 · libgit2/libgit2

X Title: WIP: respect index during checkout by ethomson · Pull Request #3839 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - WIP: respect index during checkout by ethomson · Pull Request #3839 · libgit2/libgit2

Open Graph Description: 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...

X Description: 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 ...

Opengraph URL: https://github.com/libgit2/libgit2/pull/3839

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e055051c-340c-62ad-f2ed-385207f20980
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9482:197DBD:4BD735E:64C178E:6A5D9D39
html-safe-noncee96a3b0e3a428aa8586894317c8f052b1da8765a56d2406781c55abaf30d631c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDgyOjE5N0RCRDo0QkQ3MzVFOjY0QzE3OEU6NkE1RDlEMzkiLCJ2aXNpdG9yX2lkIjoiMjI5MDE4MDUwMjIyMDI4MzE5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace1096f59d621a228b99d534a962042dc7d6734b870e2ffdc0871d6e4cf57b3df
hovercard-subject-tagpull_request:75220037
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/libgit2/libgit2/3839/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/46af4c070d25bb3f0094e04607054598c2c0925567fdd930d4ced1fce3c543bf/libgit2/libgit2/pull/3839
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/46af4c070d25bb3f0094e04607054598c2c0925567fdd930d4ced1fce3c543bf/libgit2/libgit2/pull/3839
og:image:altOur 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameethomson
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git
octolytics-dimension-user_id394745
octolytics-dimension-user_loginlibgit2
octolytics-dimension-repository_id901662
octolytics-dimension-repository_nwolibgit2/libgit2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id901662
octolytics-dimension-repository_network_root_nwolibgit2/libgit2
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/libgit2/libgit2/pull/3839
Reloadhttps://github.com/libgit2/libgit2/pull/3839
Reloadhttps://github.com/libgit2/libgit2/pull/3839
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
libgit2 https://github.com/libgit2
libgit2https://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
ethomsonhttps://github.com/ethomson
mainhttps://github.com/libgit2/libgit2/tree/main
ethomson/checkout_conflict_respect_indexhttps://github.com/libgit2/libgit2/tree/ethomson/checkout_conflict_respect_index
Conversationhttps://github.com/libgit2/libgit2/pull/3839
Commits8 (8)https://github.com/libgit2/libgit2/pull/3839/commits
Checkshttps://github.com/libgit2/libgit2/pull/3839/checks
Files changedhttps://github.com/libgit2/libgit2/pull/3839/files
WIP: respect index during checkouthttps://github.com/libgit2/libgit2/pull/3839#top
ethomsonhttps://github.com/ethomson
mainhttps://github.com/libgit2/libgit2/tree/main
ethomson/checkout_conflict_respect_indexhttps://github.com/libgit2/libgit2/tree/ethomson/checkout_conflict_respect_index
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Jun 26, 2016https://github.com/libgit2/libgit2/pull/3839#issue-162309829
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
June 25, 2016 18:05https://github.com/libgit2/libgit2/pull/3839#commits-pushed-1c89aad
checkout: test force checkout when wd revertedhttps://github.com/libgit2/libgit2/pull/3839/commits/1c89aadd73f4516bd6c7fa9dff39df69a2ee3316
1c89aadhttps://github.com/libgit2/libgit2/pull/3839/commits/1c89aadd73f4516bd6c7fa9dff39df69a2ee3316
checkout: treat files as modified if index differshttps://github.com/libgit2/libgit2/pull/3839/commits/2518419899d69762de4cbf5f64e83db7f0af6e0d
2518419https://github.com/libgit2/libgit2/pull/3839/commits/2518419899d69762de4cbf5f64e83db7f0af6e0d
checkout: test force checkout when mode changeshttps://github.com/libgit2/libgit2/pull/3839/commits/d53e99f584648884ce0e972e6422c3c3e4c1901f
d53e99fhttps://github.com/libgit2/libgit2/pull/3839/commits/d53e99f584648884ce0e972e6422c3c3e4c1901f
checkout: treat files as modified if mode differshttps://github.com/libgit2/libgit2/pull/3839/commits/d2b6a63fd243e1de8e6f8c12faf99ff7185ac2da
d2b6a63https://github.com/libgit2/libgit2/pull/3839/commits/d2b6a63fd243e1de8e6f8c12faf99ff7185ac2da
checkout: dirty index should conflict on deleteshttps://github.com/libgit2/libgit2/pull/3839/commits/175728d4b966765ca4da0e09327e2972bb733ac7
175728dhttps://github.com/libgit2/libgit2/pull/3839/commits/175728d4b966765ca4da0e09327e2972bb733ac7
checkout: dirty index should conflict on modhttps://github.com/libgit2/libgit2/pull/3839/commits/e1ca3886f5acf99135510f6727daa7495be99f7d
e1ca388https://github.com/libgit2/libgit2/pull/3839/commits/e1ca3886f5acf99135510f6727daa7495be99f7d
testrepo: introduce typechange branchhttps://github.com/libgit2/libgit2/pull/3839/commits/45405a74fc7f6684ae83be4c16b76b84986c6113
45405a7https://github.com/libgit2/libgit2/pull/3839/commits/45405a74fc7f6684ae83be4c16b76b84986c6113
checkout: dirty index should conflict on typechangehttps://github.com/libgit2/libgit2/pull/3839/commits/cf7206f8d32a46b348c2b48bea47583c9bd9929d
cf7206fhttps://github.com/libgit2/libgit2/pull/3839/commits/cf7206f8d32a46b348c2b48bea47583c9bd9929d
pks-thttps://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.chttps://github.com/libgit2/libgit2/pull/3839/files#diff-e3866d0cd7fb38e09faf8fd6295a693a5cb23a7dcbcf85250c89bff51713a7be
pks-thttps://github.com/pks-t
Jun 27, 2016https://github.com/libgit2/libgit2/pull/3839#discussion_r68584464
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
https://github.com/ethomson
ethomsonhttps://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
cjhoward92https://github.com/cjhoward92
Oct 4, 2017https://github.com/libgit2/libgit2/pull/3839#issuecomment-334228723
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Oct 5, 2017https://github.com/libgit2/libgit2/pull/3839#issuecomment-334455475
@cjhoward92https://github.com/cjhoward92
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
https://github.com/cjhoward92
cjhoward92https://github.com/cjhoward92
Oct 5, 2017https://github.com/libgit2/libgit2/pull/3839#issuecomment-334488674
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
https://github.com/ethomson
ethomsonhttps://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-thttps://github.com/pks-t
Mar 26, 2018https://github.com/libgit2/libgit2/pull/3839#issuecomment-376142089
@ethomsonhttps://github.com/ethomson
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
January 7, 2021 10:09https://github.com/libgit2/libgit2/pull/3839#event-4179154415
https://github.co/hiddenchars
https://github.com/libgit2/libgit2/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F3839
Please reload this pagehttps://github.com/libgit2/libgit2/pull/3839
https://github.com/ethomson
https://github.com/cjhoward92
https://github.com/pks-t
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.