Skip to content
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

cmd/gitcheckout: resolve submodule relative URL into absolute one from remote origin #1289

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

gmichelo
Copy link
Contributor

Part of: NSL-3898

@gmichelo gmichelo added this pull request to the merge queue Aug 15, 2024
Merged via the queue into main with commit 6580f5a Aug 15, 2024
9 of 10 checks passed
@gmichelo gmichelo deleted the resolve-relative-submodule-url branch August 15, 2024 15:49
}
}

func parseGitUrl(url string) (giturl, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not relevant in this particular case but I think file:// also exists (which can be implied by being left out) and git://
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols

@n-g
Copy link
Contributor

n-g commented Sep 4, 2024

LGTM

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

Successfully merging this pull request may close these issues.

3 participants