René's URL Explorer Experiment


Title: git_repository_init_ext doesn't return when non-existent path contains subdirectory · Issue #5013 · libgit2/libgit2 · GitHub

Open Graph Title: git_repository_init_ext doesn't return when non-existent path contains subdirectory · Issue #5013 · libgit2/libgit2

X Title: git_repository_init_ext doesn't return when non-existent path contains subdirectory · Issue #5013 · libgit2/libgit2

Description: Originally reported in libgit2/libgit2sharp#1664, it appears that git_repository_init_ext never returns if the path passed in via repo_path contain a subdirectory. For example, passing in c:\foo when it doesn't exist works fine. Passing ...

Open Graph Description: Originally reported in libgit2/libgit2sharp#1664, it appears that git_repository_init_ext never returns if the path passed in via repo_path contain a subdirectory. For example, passing in c:\foo wh...

X Description: Originally reported in libgit2/libgit2sharp#1664, it appears that git_repository_init_ext never returns if the path passed in via repo_path contain a subdirectory. For example, passing in c:\foo wh...

Opengraph URL: https://github.com/libgit2/libgit2/issues/5013

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"git_repository_init_ext doesn't return when non-existent path contains subdirectory","articleBody":"Originally reported in https://github.com/libgit2/libgit2sharp/issues/1664, it appears that `git_repository_init_ext` never returns if the path passed in via `repo_path` contain a subdirectory.\r\n\r\nFor example, passing in `c:\\foo` when it doesn't exist works fine. Passing in `c:\\foo\\foo` when `c:\\foo` doesn't exist causes it to never return.\r\n\r\nFor drives that don't exist, `x:\\foo` returns the appropriate error. `x:\\foo\\foo` never returns.\r\n\r\n### Reproduction steps\r\nHere's how it's being called from LibGit2Sharp: \r\nhttps://github.com/libgit2/libgit2sharp/blob/72a5be4860779e5d2fd6d2900d3dcc119588fbc9/LibGit2Sharp/Core/Proxy.cs#L2471-L2484\r\n### Expected behavior\r\n`git_repository_init_ext` should return with appropriate error code.\r\n### Actual behavior\r\n`git_repository_init_ext` never returns\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n572e4d8c1f1d42feac1c770f0cddf6fda6c4eca0\r\n\r\n### Operating system(s) tested\r\nWin10","author":{"url":"https://github.com/bording","@type":"Person","name":"bording"},"datePublished":"2019-03-08T22:20:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/5013/libgit2/issues/5013"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:31b20f1b-0aa2-ee70-2cb5-740bc5b95218
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id88CE:A0835:68027C2:8A3FCB2:6A5DE4D4
html-safe-nonce85024d97628b41f72a7a15e26fab43c870d06940bc212b80b6dbda96ebf8cbba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OENFOkEwODM1OjY4MDI3QzI6OEEzRkNCMjo2QTVERTRENCIsInZpc2l0b3JfaWQiOiI3NDAwNDg5NDAwMjU3MDc4NDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1fcb5d6fc7a9df6303c013a4eef141a7329989ee97b6a2def8030f759ff4f06c
hovercard-subject-tagissue:418980262
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/libgit2/5013/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aff657b69f8d99f471616c97c68ff4d64736f1b176ab848cbbacf083334e0975/libgit2/libgit2/issues/5013
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aff657b69f8d99f471616c97c68ff4d64736f1b176ab848cbbacf083334e0975/libgit2/libgit2/issues/5013
og:image:altOriginally reported in libgit2/libgit2sharp#1664, it appears that git_repository_init_ext never returns if the path passed in via repo_path contain a subdirectory. For example, passing in c:\foo wh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebording
hostnamegithub.com
expected-hostnamegithub.com
Nonef068985268f2a1e272fe40dd37a3352a16d337d57ec570e56da6c2346e179f59
turbo-cache-controlno-preview
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
releasee36408244bcd0ded36f1cfba5db8e97f99c2117e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/issues/5013#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fissues%2F5013
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%2Fissues%2F5013
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=libgit2%2Flibgit2
Reloadhttps://github.com/libgit2/libgit2/issues/5013
Reloadhttps://github.com/libgit2/libgit2/issues/5013
Reloadhttps://github.com/libgit2/libgit2/issues/5013
Please reload this pagehttps://github.com/libgit2/libgit2/issues/5013
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
#5050https://github.com/libgit2/libgit2/pull/5050
git_repository_init_ext doesn't return when non-existent path contains subdirectoryhttps://github.com/libgit2/libgit2/issues/5013#top
#5050https://github.com/libgit2/libgit2/pull/5050
https://github.com/bording
bordinghttps://github.com/bording
on Mar 8, 2019https://github.com/libgit2/libgit2/issues/5013#issue-418980262
libgit2/libgit2sharp#1664https://github.com/libgit2/libgit2sharp/issues/1664
https://github.com/libgit2/libgit2sharp/blob/72a5be4860779e5d2fd6d2900d3dcc119588fbc9/LibGit2Sharp/Core/Proxy.cs#L2471-L2484https://github.com/libgit2/libgit2sharp/blob/72a5be4860779e5d2fd6d2900d3dcc119588fbc9/LibGit2Sharp/Core/Proxy.cs#L2471-L2484
572e4d8https://github.com/libgit2/libgit2/commit/572e4d8c1f1d42feac1c770f0cddf6fda6c4eca0
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.