Remove deprecated gcrypt::ssh:// (use rsync instead, previously autofixed)

We need to remove this since git handles ssh:// URLs already. With this
change, we now use the git backend for these.
This commit is contained in:
root 2013-03-05 08:29:21 +00:00
parent 8726767e25
commit 6233fdebdd

View file

@ -450,14 +450,6 @@ ensure_connected()
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:// -> ()"