We need to remove this since git handles ssh:// URLs already. With this
change, we now use the git backend for these.
iseq "${NAME#gcrypt::}" "$URL" || r_name=$NAME
- # Fixup ssh:// -> rsync://
- if isurl ssh "$URL"; then
- URL="rsync://${URL#ssh://}"
- isnull "$r_name" || {
- git config "remote.$r_name.url" "gcrypt::$URL"
- echo_info "Updated URL for $r_name, ssh: -> rsync:"
- }
- fi
if isurl gitception "$URL" && isnonnull "$r_name"; then
git config "remote.$r_name.url" "gcrypt::${URL#gitception://}"
echo_info "Updated URL for $r_name, gitception:// -> ()"