René's URL Explorer Experiment


Title: Fix commit hooks to respect core.hooksPath configuration by MirrorDNA-Reflection-Protocol · Pull Request #2090 · gitpython-developers/GitPython · GitHub

Open Graph Title: Fix commit hooks to respect core.hooksPath configuration by MirrorDNA-Reflection-Protocol · Pull Request #2090 · gitpython-developers/GitPython

X Title: Fix commit hooks to respect core.hooksPath configuration by MirrorDNA-Reflection-Protocol · Pull Request #2090 · gitpython-developers/GitPython

Description: Summary Fixes #2083 The run_commit_hook() function was hardcoded to look for hooks in $GIT_DIR/hooks, ignoring the core.hooksPath configuration option that Git has supported since v2.9. Changes Ad...

Open Graph Description: Summary Fixes #2083 The run_commit_hook() function was hardcoded to look for hooks in $GIT_DIR/hooks, ignoring the core.hooksPath configuration option that Git has supported since v2.9. Changes Ad...

X Description: Summary Fixes #2083 The run_commit_hook() function was hardcoded to look for hooks in $GIT_DIR/hooks, ignoring the core.hooksPath configuration option that Git has supported since v2.9. Changes Ad...

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2090

X: @github

direct link

Domain: togithub.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:e4c08fa3-46d5-be7e-c827-15ca0d050994
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB85A:20B243:67A100:931AFF:6968BBCC
html-safe-noncec1543ca649a700b1db0fea0b21ebf79d7c11fb1f8599e7cea79605387dbe2432
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODVBOjIwQjI0Mzo2N0ExMDA6OTMxQUZGOjY5NjhCQkNDIiwidmlzaXRvcl9pZCI6IjIyOTcyOTU3MzgzMDAzMTY2MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdea09ce9aeb1360185ac92b65f7f18fac80129b29efdb55e08d66dbad94003f3
hovercard-subject-tagpull_request:3079222181
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/gitpython-developers/GitPython/2090/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7a4bc1b6573332857df7c438888df90f4c353f613a2e773f4bdae7d10a52df97/gitpython-developers/GitPython/pull/2090
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a4bc1b6573332857df7c438888df90f4c353f613a2e773f4bdae7d10a52df97/gitpython-developers/GitPython/pull/2090
og:image:altSummary Fixes #2083 The run_commit_hook() function was hardcoded to look for hooks in $GIT_DIR/hooks, ignoring the core.hooksPath configuration option that Git has supported since v2.9. Changes Ad...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMirrorDNA-Reflection-Protocol
hostnamegithub.com
expected-hostnamegithub.com
Nonefdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98
turbo-cache-controlno-preview
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
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
release3223a6503d318917691422cdadfbe16cd8fb21e5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://togithub.com/gitpython-developers/GitPython/pull/2090#start-of-content
https://togithub.com/
Sign in https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2090
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2090
Sign up https://togithub.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=gitpython-developers%2FGitPython
Reloadhttps://togithub.com/gitpython-developers/GitPython/pull/2090
Reloadhttps://togithub.com/gitpython-developers/GitPython/pull/2090
Reloadhttps://togithub.com/gitpython-developers/GitPython/pull/2090
gitpython-developers https://togithub.com/gitpython-developers
GitPythonhttps://togithub.com/gitpython-developers/GitPython
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
Notifications https://togithub.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://togithub.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://togithub.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://togithub.com/gitpython-developers/GitPython
Issues 169 https://togithub.com/gitpython-developers/GitPython/issues
Pull requests 8 https://togithub.com/gitpython-developers/GitPython/pulls
Discussions https://togithub.com/gitpython-developers/GitPython/discussions
Actions https://togithub.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://togithub.com/gitpython-developers/GitPython/security
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
Insights https://togithub.com/gitpython-developers/GitPython/pulse
Code https://togithub.com/gitpython-developers/GitPython
Issues https://togithub.com/gitpython-developers/GitPython/issues
Pull requests https://togithub.com/gitpython-developers/GitPython/pulls
Discussions https://togithub.com/gitpython-developers/GitPython/discussions
Actions https://togithub.com/gitpython-developers/GitPython/actions
Security https://togithub.com/gitpython-developers/GitPython/security
Insights https://togithub.com/gitpython-developers/GitPython/pulse
Sign up for GitHub https://togithub.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://togithub.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://togithub.com/gitpython-developers/GitPython/pull/2090#issue-comment-box
MirrorDNA-Reflection-Protocolhttps://togithub.com/MirrorDNA-Reflection-Protocol
gitpython-developers:mainhttps://togithub.com/gitpython-developers/GitPython/tree/main
MirrorDNA-Reflection-Protocol:fix-core-hookspath-supporthttps://togithub.com/MirrorDNA-Reflection-Protocol/GitPython/tree/fix-core-hookspath-support
Fix commit hooks to respect core.hooksPath configuration https://togithub.com/gitpython-developers/GitPython/pull/2090#top
MirrorDNA-Reflection-Protocolhttps://togithub.com/MirrorDNA-Reflection-Protocol
gitpython-developers:mainhttps://togithub.com/gitpython-developers/GitPython/tree/main
MirrorDNA-Reflection-Protocol:fix-core-hookspath-supporthttps://togithub.com/MirrorDNA-Reflection-Protocol/GitPython/tree/fix-core-hookspath-support
Conversation 4 https://togithub.com/gitpython-developers/GitPython/pull/2090
Commits 4 https://togithub.com/gitpython-developers/GitPython/pull/2090/commits
Checks 27 https://togithub.com/gitpython-developers/GitPython/pull/2090/checks
Files changed 2 https://togithub.com/gitpython-developers/GitPython/pull/2090/files
https://github.co/hiddenchars
https://togithub.com/gitpython-developers/GitPython/pull/{{ revealButtonHref }}
https://togithub.com/MirrorDNA-Reflection-Protocol
MirrorDNA-Reflection-Protocolhttps://togithub.com/MirrorDNA-Reflection-Protocol
Dec 7, 2025https://togithub.com/gitpython-developers/GitPython/pull/2090#issue-3703619138
#2083https://github.com/gitpython-developers/GitPython/issues/2083
https://git-scm.com/docs/git-config#Documentation/git-config.txt-corehooksPathhttps://git-scm.com/docs/git-config#Documentation/git-config.txt-corehooksPath
Commit hooks don't respect core.hooksPath in config. #2083https://github.com/gitpython-developers/GitPython/issues/2083
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
https://togithub.com/MirrorDNA-Reflection-Protocol
Fix commit hooks to respect core.hooksPath configurationhttps://togithub.com/gitpython-developers/GitPython/pull/2090/commits/7977004dd8169605c572ac7a00325700d89bdd28
7977004https://togithub.com/gitpython-developers/GitPython/pull/2090/commits/7977004dd8169605c572ac7a00325700d89bdd28
gitpython-developers#2083https://github.com/gitpython-developers/GitPython/issues/2083
https://togithub.com/Byron
Byronhttps://togithub.com/Byron
Copilothttps://togithub.com/apps/copilot-pull-request-reviewer
December 7, 2025 15:52https://togithub.com/gitpython-developers/GitPython/pull/2090#event-21410810249
started reviewinghttps://github.com/copilot/tasks/pull/PR_kwDOABEux863iTOl?session_id=2e374146-92ed-4313-adb2-7798e900bbcb
Byronhttps://togithub.com/Byron
December 7, 2025 15:52https://togithub.com/gitpython-developers/GitPython/pull/2090#event-21410812410
View session https://github.com/copilot/tasks/pull/PR_kwDOABEux863iTOl?session_id=2e374146-92ed-4313-adb2-7798e900bbcb
https://togithub.com/Byron
Byronhttps://togithub.com/Byron
December 7, 2025 15:53https://togithub.com/gitpython-developers/GitPython/pull/2090#event-21410815648
https://togithub.com/apps/copilot-pull-request-reviewer
Copilothttps://togithub.com/apps/copilot-pull-request-reviewer
Dec 7, 2025 https://togithub.com/gitpython-developers/GitPython/pull/2090#pullrequestreview-3549374277
View reviewed changes https://togithub.com/gitpython-developers/GitPython/pull/2090/files/7977004dd8169605c572ac7a00325700d89bdd28
Copilothttps://togithub.com/apps/copilot-pull-request-reviewer
https://togithub.com/gitpython-developers/GitPython/pull/2090#pullrequestreview-3549374277
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2083https://github.com/gitpython-developers/GitPython/issues/2083
Add Copilot custom instructionshttps://togithub.com/gitpython-developers/GitPython/new/main/.github/instructions?filename=*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
test/test_index.pyhttps://togithub.com/gitpython-developers/GitPython/pull/2090/files/7977004dd8169605c572ac7a00325700d89bdd28#diff-21c27b991511d3d0e3a14b4dfb56017689de2fa114c3edf11c577bd1ce744b72
Copilothttps://togithub.com/apps/copilot-pull-request-reviewer
Dec 7, 2025https://togithub.com/gitpython-developers/GitPython/pull/2090#discussion_r2596401873
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
git/index/fun.pyhttps://togithub.com/gitpython-developers/GitPython/pull/2090/files/7977004dd8169605c572ac7a00325700d89bdd28#diff-1d155f283cbf575ea2d0cce3e16d9c60d5fab54c83626603f47eabd2334084b6
Copilothttps://togithub.com/apps/copilot-pull-request-reviewer
Dec 7, 2025https://togithub.com/gitpython-developers/GitPython/pull/2090#discussion_r2596401879
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
test/test_index.pyhttps://togithub.com/gitpython-developers/GitPython/pull/2090/files/7977004dd8169605c572ac7a00325700d89bdd28#diff-21c27b991511d3d0e3a14b4dfb56017689de2fa114c3edf11c577bd1ce744b72
Copilothttps://togithub.com/apps/copilot-pull-request-reviewer
Dec 7, 2025https://togithub.com/gitpython-developers/GitPython/pull/2090#discussion_r2596401886
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
MirrorDNA-Reflection-Protocolhttps://togithub.com/MirrorDNA-Reflection-Protocol
December 8, 2025 13:55https://togithub.com/gitpython-developers/GitPython/pull/2090#commits-pushed-1a10226
https://togithub.com/MirrorDNA-Reflection-Protocol
Add test for core.hooksPath in bare repositorieshttps://togithub.com/gitpython-developers/GitPython/pull/2090/commits/1a1022681fb76c6ea17fcd8d5aabdf6e43145cf1
1a10226https://togithub.com/gitpython-developers/GitPython/pull/2090/commits/1a1022681fb76c6ea17fcd8d5aabdf6e43145cf1
https://togithub.com/MirrorDNA-Reflection-Protocol
Fix ruff lint: remove whitespace from blank lines in docstringshttps://togithub.com/gitpython-developers/GitPython/pull/2090/commits/7b1acdb713e8dbfd7f1f7d13cc2407457de6a82a
7b1acdbhttps://togithub.com/gitpython-developers/GitPython/pull/2090/commits/7b1acdb713e8dbfd7f1f7d13cc2407457de6a82a
https://togithub.com/MirrorDNA-Reflection-Protocol
Fix bare repo test: use custom-hooks dir inside git_dirhttps://togithub.com/gitpython-developers/GitPython/pull/2090/commits/6e58a6994d5346ae702a7de96d9739ba585a94d6
6e58a69https://togithub.com/gitpython-developers/GitPython/pull/2090/commits/6e58a6994d5346ae702a7de96d9739ba585a94d6
Sign up for freehttps://togithub.com/join?source=comment-repo
Sign in to commenthttps://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2090
Copilot code review https://togithub.com/apps/copilot-pull-request-reviewer
Copilot https://togithub.com/apps/copilot-pull-request-reviewer
https://togithub.com/gitpython-developers/GitPython/pull/2090/files/7977004dd8169605c572ac7a00325700d89bdd28
Commit hooks don't respect core.hooksPath in config. https://github.com/gitpython-developers/GitPython/issues/2083
Please reload this pagehttps://togithub.com/gitpython-developers/GitPython/pull/2090
https://togithub.com/MirrorDNA-Reflection-Protocol
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.