René's URL Explorer Experiment


Title: Relative path include in .gitconfig throws AssertionError · Issue #2103 · gitpython-developers/GitPython · GitHub

Open Graph Title: Relative path include in .gitconfig throws AssertionError · Issue #2103 · gitpython-developers/GitPython

X Title: Relative path include in .gitconfig throws AssertionError · Issue #2103 · gitpython-developers/GitPython

Description: My .gitconfig contains: [include] path = .gitconfig_common According to the Git documentation, this is allowed to be a relative path: If the value of the variable is a relative path, the path is considered to be relative to the configura...

Open Graph Description: My .gitconfig contains: [include] path = .gitconfig_common According to the Git documentation, this is allowed to be a relative path: If the value of the variable is a relative path, the path is co...

X Description: My .gitconfig contains: [include] path = .gitconfig_common According to the Git documentation, this is allowed to be a relative path: If the value of the variable is a relative path, the path is co...

Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/2103

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Relative path include in .gitconfig throws AssertionError","articleBody":"My `.gitconfig` contains:\n\n```\n[include]\n    path = .gitconfig_common\n```\n\nAccording to the [Git documentation](https://git-scm.com/docs/git-config#_includes), this is allowed to be a _relative path_:\n\n\u003e If the value of the variable is a relative path, the path is considered to be relative to the configuration file in which the include directive was found.\n\nHowever, GitPython throws:\n\n```\n  File \"/Users/daniel/.cache/uv/archive-v0/YvUvYFO1C0vkI8VZmPICW/lib/python3.12/site-packages/briefcase/commands/base.py\", line 1365, in get_git_config_value\n    if git_config.has_option(section, option):\n       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/daniel/.cache/uv/archive-v0/YvUvYFO1C0vkI8VZmPICW/lib/python3.12/site-packages/git/config.py\", line 113, in assure_data_present\n    self.read()\n  File \"/Users/daniel/.cache/uv/archive-v0/YvUvYFO1C0vkI8VZmPICW/lib/python3.12/site-packages/git/config.py\", line 654, in read\n    assert osp.isabs(file_path), \"Need absolute paths to be sure our cycle checks will work\"\n           ^^^^^^^^^^^^^^^^^^^^\nAssertionError: Need absolute paths to be sure our cycle checks will work\n```\n\nThe workaround is to modify my `.gitconfig` and make the path absolute, but I'd like it to work without modifying my `.gitconfig` to suit GitPython.","author":{"url":"https://github.com/Virtlink","@type":"Person","name":"Virtlink"},"datePublished":"2026-02-24T13:18:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2103/GitPython/issues/2103"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:11244442-929f-b1b4-1656-6bf2742ad62c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB4D4:2CEF6D:2F2344A:43AAF3F:6A567CCA
html-safe-nonce2138af6bea7a582e403569a6166b4a7168fab8fe8055937bcf8f744dcb4a0c68
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEQ0OjJDRUY2RDoyRjIzNDRBOjQzQUFGM0Y6NkE1NjdDQ0EiLCJ2aXNpdG9yX2lkIjoiODA1OTE0NDQwMTk5MjQ0OTIyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac76bf5594d957622921cc87d3d0f01b6af8854c263b0201f28555cc307ceb6ac4
hovercard-subject-tagissue:3983693068
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/2103/issue_layout
twitter:imagehttps://opengraph.githubassets.com/41707e4908a438e4656505410b8fe79f59c23be0b2cb3222572bffdcbabef30b/gitpython-developers/GitPython/issues/2103
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/41707e4908a438e4656505410b8fe79f59c23be0b2cb3222572bffdcbabef30b/gitpython-developers/GitPython/issues/2103
og:image:altMy .gitconfig contains: [include] path = .gitconfig_common According to the Git documentation, this is allowed to be a relative path: If the value of the variable is a relative path, the path is co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVirtlink
hostnamegithub.com
expected-hostnamegithub.com
None19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5
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
releasefc131753d059926755b1ab26f13a2c96a692f5d7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/issues/2103#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fissues%2F2103
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%2Fgitpython-developers%2FGitPython%2Fissues%2F2103
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/issues/2103
Reloadhttps://github.com/gitpython-developers/GitPython/issues/2103
Reloadhttps://github.com/gitpython-developers/GitPython/issues/2103
Please reload this pagehttps://github.com/gitpython-developers/GitPython/issues/2103
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/issues/2103
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 980 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5.1k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 165 https://github.com/gitpython-developers/GitPython/issues
Pull requests 9 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security and quality 11 https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security and quality https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
#2169https://github.com/gitpython-developers/GitPython/pull/2169
#2123https://github.com/gitpython-developers/GitPython/pull/2123
Relative path include in .gitconfig throws AssertionErrorhttps://github.com/gitpython-developers/GitPython/issues/2103#top
#2169https://github.com/gitpython-developers/GitPython/pull/2169
#2123https://github.com/gitpython-developers/GitPython/pull/2123
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
https://github.com/Virtlink
Virtlinkhttps://github.com/Virtlink
on Feb 24, 2026https://github.com/gitpython-developers/GitPython/issues/2103#issue-3983693068
Git documentationhttps://git-scm.com/docs/git-config#_includes
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
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.