René's URL Explorer Experiment


Title: Split get_git_dir() into get_git_dir() and get_common_git_dir() by daschuer · Pull Request #1973 · pre-commit/pre-commit · GitHub

Open Graph Title: Split get_git_dir() into get_git_dir() and get_common_git_dir() by daschuer · Pull Request #1973 · pre-commit/pre-commit

X Title: Split get_git_dir() into get_git_dir() and get_common_git_dir() by daschuer · Pull Request #1973 · pre-commit/pre-commit

Description: This fixes the conflicted state check when using work trees. #1972

Open Graph Description: This fixes the conflicted state check when using work trees. #1972

X Description: This fixes the conflicted state check when using work trees. #1972

Opengraph URL: https://github.com/pre-commit/pre-commit/pull/1973

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:98331700-759c-5648-2e7e-3e6bbd1662c0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD86:3FCE56:A09B42:EAEE21:6A56013B
html-safe-nonced9419e0e648a4301f44490e2eccf434de110ea80c76e2ddcf6e240915be547cb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDg2OjNGQ0U1NjpBMDlCNDI6RUFFRTIxOjZBNTYwMTNCIiwidmlzaXRvcl9pZCI6IjgyMDI1OTg4MjY1Mjk2NTMwNTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3d82171283088b1a6ed2ddb1b425d50cd7de43d956bcf9dd4c9be0c52f48429d
hovercard-subject-tagpull_request:687280618
github-keyboard-shortcutsrepository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pre-commit/pre-commit/pull/1973/files
twitter:imagehttps://avatars.githubusercontent.com/u/1777442?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1777442?s=400&v=4
og:image:altThis fixes the conflicted state check when using work trees. #1972
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseed27e29ef37c0e8f612ea3fed8118b955b8314e2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/pull/1973/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F1973%2Ffiles
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%2Fpre-commit%2Fpre-commit%2Fpull%2F1973%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=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/pull/1973/files
Reloadhttps://github.com/pre-commit/pre-commit/pull/1973/files
Reloadhttps://github.com/pre-commit/pre-commit/pull/1973/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1973/files
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1973/files
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 985 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15.4k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 22 https://github.com/pre-commit/pre-commit/issues
Pull requests 13 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpre-commit%2Fpre-commit%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpre-commit%2Fpre-commit%2Fissues%2Fnew%2Fchoose
daschuerhttps://github.com/daschuer
pre-commit:masterhttps://github.com/pre-commit/pre-commit/tree/master
daschuer:worktree_fixhttps://github.com/daschuer/pre-commit/tree/worktree_fix
Conversation 13 https://github.com/pre-commit/pre-commit/pull/1973
Commits 4 https://github.com/pre-commit/pre-commit/pull/1973/commits
Checks 0 https://github.com/pre-commit/pre-commit/pull/1973/checks
Files changed https://github.com/pre-commit/pre-commit/pull/1973/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1973/files
Split get_git_dir() into get_git_dir() and get_common_git_dir() https://github.com/pre-commit/pre-commit/pull/1973/files#top
Show all changes 4 commits https://github.com/pre-commit/pre-commit/pull/1973/files
eba15d1 Split get_git_dir() into get_git_dir() and get_git_common_dir() daschuer Jul 11, 2021 https://github.com/pre-commit/pre-commit/pull/1973/commits/eba15d128b3765f044be2a2308f108f7b11985bc
cc9f8f6 Add a case test for get_git_dir() and get_git_common_dir() daschuer Aug 6, 2021 https://github.com/pre-commit/pre-commit/pull/1973/commits/cc9f8f66c8e675bf5955a6de7ce824955d5c8886
c43698e fix get_root() for the case of called from the git dir daschuer Aug 6, 2021 https://github.com/pre-commit/pre-commit/pull/1973/commits/c43698e942fa9f0be2b55613c48d1920399cb2c7
0d9f2d1 Added a test for failing get_root_dir inside the git folder daschuer Aug 6, 2021 https://github.com/pre-commit/pre-commit/pull/1973/commits/0d9f2d146615bd51970121c62aa39aa50dcf1c59
Clear filters https://github.com/pre-commit/pre-commit/pull/1973/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1973/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1973/files
install_uninstall.py https://github.com/pre-commit/pre-commit/pull/1973/files#diff-c1de6ebebe1a5982c462c82149dd58e4d5bf04d70919ef97adb3eb58f6037861
git.py https://github.com/pre-commit/pre-commit/pull/1973/files#diff-06a4b501e14c948bb716b155251d2b7d2e5dead34b98c2691febb515dfd68d47
git_test.py https://github.com/pre-commit/pre-commit/pull/1973/files#diff-14d5d5bd8a09d9bd89b1633f9c6308906da256c4ab7ac2c3bcd468e878043cd1
pre_commit/commands/install_uninstall.pyhttps://github.com/pre-commit/pre-commit/pull/1973/files#diff-c1de6ebebe1a5982c462c82149dd58e4d5bf04d70919ef97adb3eb58f6037861
View file https://github.com/daschuer/pre-commit/blob/0d9f2d146615bd51970121c62aa39aa50dcf1c59/pre_commit/commands/install_uninstall.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/pull/1973/{{ revealButtonHref }}
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-c1de6ebebe1a5982c462c82149dd58e4d5bf04d70919ef97adb3eb58f6037861
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-c1de6ebebe1a5982c462c82149dd58e4d5bf04d70919ef97adb3eb58f6037861
pre_commit/git.pyhttps://github.com/pre-commit/pre-commit/pull/1973/files#diff-06a4b501e14c948bb716b155251d2b7d2e5dead34b98c2691febb515dfd68d47
View file https://github.com/daschuer/pre-commit/blob/0d9f2d146615bd51970121c62aa39aa50dcf1c59/pre_commit/git.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/pull/1973/{{ revealButtonHref }}
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-06a4b501e14c948bb716b155251d2b7d2e5dead34b98c2691febb515dfd68d47
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-06a4b501e14c948bb716b155251d2b7d2e5dead34b98c2691febb515dfd68d47
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-06a4b501e14c948bb716b155251d2b7d2e5dead34b98c2691febb515dfd68d47
tests/git_test.pyhttps://github.com/pre-commit/pre-commit/pull/1973/files#diff-14d5d5bd8a09d9bd89b1633f9c6308906da256c4ab7ac2c3bcd468e878043cd1
View file https://github.com/daschuer/pre-commit/blob/0d9f2d146615bd51970121c62aa39aa50dcf1c59/tests/git_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/pull/1973/{{ revealButtonHref }}
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-14d5d5bd8a09d9bd89b1633f9c6308906da256c4ab7ac2c3bcd468e878043cd1
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-14d5d5bd8a09d9bd89b1633f9c6308906da256c4ab7ac2c3bcd468e878043cd1
https://github.com/pre-commit/pre-commit/pull/1973/files#diff-14d5d5bd8a09d9bd89b1633f9c6308906da256c4ab7ac2c3bcd468e878043cd1
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.