René's URL Explorer Experiment


Title: Update bundled libgit2 to >= 1.9.4 for relativeWorktrees support · Issue #2184 · libgit2/libgit2sharp · GitHub

Open Graph Title: Update bundled libgit2 to >= 1.9.4 for relativeWorktrees support · Issue #2184 · libgit2/libgit2sharp

X Title: Update bundled libgit2 to >= 1.9.4 for relativeWorktrees support · Issue #2184 · libgit2/libgit2sharp

Description: Reproduction steps Use LibGit2Sharp to open a repository/worktree created by Git with relative worktree paths enabled. Modern Git can set this automatically when a worktree is created or repaired with relative paths. A minimal repository...

Open Graph Description: Reproduction steps Use LibGit2Sharp to open a repository/worktree created by Git with relative worktree paths enabled. Modern Git can set this automatically when a worktree is created or repaired w...

X Description: Reproduction steps Use LibGit2Sharp to open a repository/worktree created by Git with relative worktree paths enabled. Modern Git can set this automatically when a worktree is created or repaired w...

Opengraph URL: https://github.com/libgit2/libgit2sharp/issues/2184

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update bundled libgit2 to >= 1.9.4 for relativeWorktrees support","articleBody":"### Reproduction steps\n\nUse LibGit2Sharp to open a repository/worktree created by Git with relative worktree paths enabled. Modern Git can set this automatically when a worktree is created or repaired with relative paths.\n\nA minimal repository state has `core.repositoryformatversion = 1` and the newer Git extension:\n\n```ini\n[extensions]\n    relativeWorktrees = true\n```\n\nA linked worktree may have a `.git` file like:\n\n```text\ngitdir: ../worktrees/my-worktree\n```\n\nThen open the worktree with LibGit2Sharp:\n\n```csharp\nusing LibGit2Sharp;\n\nusing var repo = new Repository(\"/path/to/my-worktree\");\n```\n\nThis also reproduces through downstream tools that depend on LibGit2Sharp. In my case, GitVersion.MsBuild 6.7.0 launches its bundled GitVersion tool, which bundles LibGit2Sharp 0.31.0 and native libgit2 1.8.4, and fails while opening the repository.\n\n### Expected behavior\n\nLibGit2Sharp should open repositories/worktrees that use Git's `extensions.relativeWorktrees` extension.\n\nThe upstream libgit2 issue was fixed here:\n\n- https://github.com/libgit2/libgit2/issues/7210\n- https://github.com/libgit2/libgit2/pull/7254\n\nThe fix is included in libgit2 v1.9.4:\n\n- https://github.com/libgit2/libgit2/releases/tag/v1.9.4\n\n### Actual behavior\n\nOpening the repository fails before any repository operations can run:\n\n```text\nLibGit2Sharp.LibGit2SharpException: unsupported extension name extensions.relativeworktrees\n   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)\n   at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result)\n   at LibGit2Sharp.Core.Proxy.git_repository_open(String path)\n   at LibGit2Sharp.Repository..ctor(String path, RepositoryOptions options, RepositoryRequiredParameter requiredParameter)\n   at LibGit2Sharp.Repository..ctor(String path)\n```\n\n### Version of LibGit2Sharp (release number or SHA1)\n\nObserved via downstream GitVersion.MsBuild 6.7.0, which bundles:\n\n```text\nLibGit2Sharp 0.31.0\nnative libgit2 1.8.4\n```\n\nThe requested dependency update is for a LibGit2Sharp release that bundles native libgit2 >= 1.9.4.\n\n### Operating system(s) tested; .NET runtime tested\n\nTested on Linux / WSL2 with .NET 8.0.\n\nGit version in the environment:\n\n```text\ngit version 2.51.2\n```\n\n### Downstream dependency-chain impact\n\nThis blocks tools that consume LibGit2Sharp indirectly, notably GitVersion. I am filing a corresponding GitVersion issue as well, because GitVersion cannot fix this until LibGit2Sharp publishes a release with libgit2 >= 1.9.4.\n","author":{"url":"https://github.com/HackXIt","@type":"Person","name":"HackXIt"},"datePublished":"2026-06-09T14:31:25Z","url":"https://github.com/libgit2/libgit2sharp/issues/2184"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:23a9e329-5b77-3fed-ef09-7065739f6a89
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE96C:25F138:1957D0:225309:6AFD4F45
html-safe-nonce6ec95f149fc541372cc89920837bfe54af8ea898fa53a18c34619d48f3707680
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTZDOjI1RjEzODoxOTU3RDA6MjI1MzA5OjZBRkQ0RjQ1IiwidmlzaXRvcl9pZCI6IjIzODU2OTQ4NDExMTI0NDg4MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac24aea8ac7bbc5b77a3b5c0fd00f245db7566ba62bccd314617631c156aed1329
hovercard-subject-tagissue:4622891801
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/libgit2/libgit2sharp/2184/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c9d5c1e682c41a58214ce89adfc47cb84ed56628ea8572879359cf79b8869d50/libgit2/libgit2sharp/issues/2184
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c9d5c1e682c41a58214ce89adfc47cb84ed56628ea8572879359cf79b8869d50/libgit2/libgit2sharp/issues/2184
og:image:altReproduction steps Use LibGit2Sharp to open a repository/worktree created by Git with relative worktree paths enabled. Modern Git can set this automatically when a worktree is created or repaired w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameHackXIt
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
go-importgithub.com/libgit2/libgit2sharp git https://github.com/libgit2/libgit2sharp.git
octolytics-dimension-user_id394745
octolytics-dimension-user_loginlibgit2
octolytics-dimension-repository_id1415168
octolytics-dimension-repository_nwolibgit2/libgit2sharp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1415168
octolytics-dimension-repository_network_root_nwolibgit2/libgit2sharp
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
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/libgit2/libgit2sharp/issues/2184#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2sharp%2Fissues%2F2184
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2sharp%2Fissues%2F2184
Sign uphttps://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=libgit2%2Flibgit2sharp
Reloadhttps://github.com/libgit2/libgit2sharp/issues/2184
Reloadhttps://github.com/libgit2/libgit2sharp/issues/2184
Reloadhttps://github.com/libgit2/libgit2sharp/issues/2184
libgit2https://github.com/libgit2
libgit2sharphttps://github.com/libgit2/libgit2sharp
Codehttps://github.com/libgit2/libgit2sharp
Issues406 (406)https://github.com/libgit2/libgit2sharp/issues
Pull requests54 (54)https://github.com/libgit2/libgit2sharp/pulls
Actionshttps://github.com/libgit2/libgit2sharp/actions
Projectshttps://github.com/libgit2/libgit2sharp/projects
Wikihttps://github.com/libgit2/libgit2sharp/wiki
Security and qualityhttps://github.com/libgit2/libgit2sharp/security
Insightshttps://github.com/libgit2/libgit2sharp/insights
https://github.com/libgit2/libgit2sharp
New issuehttps://github.com/login?return_to=https://github.com/libgit2/libgit2sharp/issues/2184
New issuehttps://github.com/login?return_to=https://github.com/libgit2/libgit2sharp/issues/2184
Update bundled libgit2 to >= 1.9.4 for relativeWorktrees supporthttps://github.com/libgit2/libgit2sharp/issues/2184#top
https://github.com/HackXIt
HackXIthttps://github.com/HackXIt
on Jun 9, 2026https://github.com/libgit2/libgit2sharp/issues/2184#issue-4622891801
libgit2 doesn't support relative worktrees (as per git >= 2.48) libgit2#7210https://github.com/libgit2/libgit2/issues/7210
fix: Recognize relative worktrees extension libgit2#7254https://github.com/libgit2/libgit2/pull/7254
https://github.com/libgit2/libgit2/releases/tag/v1.9.4https://github.com/libgit2/libgit2/releases/tag/v1.9.4
https://github.com/HackXIt
HackXIthttps://github.com/HackXIt
on Jun 9, 2026https://github.com/libgit2/libgit2sharp/issues/2184#issuecomment-4660830933
GitTools/GitVersion#4967https://github.com/GitTools/GitVersion/issues/4967
Sign up for freehttps://github.com/signup?return_to=https://github.com/libgit2/libgit2sharp/issues/2184
Sign in to commenthttps://github.com/login?return_to=https://github.com/libgit2/libgit2sharp/issues/2184
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.