mioso / keyswarm

GNU General Public License v3.0
4 stars 3 forks source link

git clone via http tries to use ssh instead #62

Open just-ole opened 4 years ago

just-ole commented 4 years ago

repository in question used a git submodule with absolute url

changing the url of the submodule from ssh://git@example.com/org/.available-keys to a relative path like ../.available-keys cloning the root repository works both with https://example.com/org/.password-store and ssh://example.com/org/.password-store

not using submodules entirely avoids this

just-ole commented 4 years ago

consider detecting this issue and giving an error message that is easier to understand than stderr from the git process