8000 clone: don't mix up "http://url" with "http:/url" when figuring out if we should do a local clone by boretrk · Pull Request #6361 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

clone: don't mix up "http://url" with "http:/url" when figuring out if we should do a local clone #6361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

boretrk
Copy link
Contributor
@boretrk boretrk commented Jul 19, 2022

New attempt at solving #5982, this time using git_net_str_is_url from util

Essentially it tries to sort out if we should clone locally without asking the filesystem until it is absolutely necessary since linux can be a bit unreliable on paths containing :// and treat them as :/

@boretrk boretrk marked this pull request as draft July 20, 2022 19:22
@boretrk boretrk marked this pull request as ready for review July 20, 2022 19:34
@ethomson
Copy link
Member

Thanks, this seems like a reasonable change. Let's take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0