Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

dont use 'git:github.com' protocol #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "external/libgit2"]
path = external/libgit2
url = git://github.com/mono/libgit2.git
url = https://www.github.com/mono/libgit2.git
Copy link
Contributor

Choose a reason for hiding this comment

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

This will make it use the same protocol as the parent repository was cloned with, so I think that's a better alternative here.

Suggested change
url = https://www.github.com/mono/libgit2.git
url = ../mono/libgit2.git

branch = xs-5.10-v2
[submodule "external/libssh2"]
path = external/libssh2
url = git://github.com/libssh2/libssh2.git
url = https://www.github.com/libssh2/libssh2.git