]> Nutra Git (v1) - gamesguru/git-remote-gcrypt.git/commitdiff
Remove deprecated gcrypt::ssh:// (use rsync instead, previously autofixed)
authorroot <root@localhost>
Tue, 5 Mar 2013 08:29:21 +0000 (08:29 +0000)
committerroot <root@localhost>
Tue, 5 Mar 2013 08:29:21 +0000 (08:29 +0000)
We need to remove this since git handles ssh:// URLs already. With this
change, we now use the git backend for these.

git-remote-gcrypt

index 3e62808c285cb4c7f2eacd0a530c7a6bf9c74ea4..5e59af92fce0fe0e78c65a65e5bf2b598b137a1c 100755 (executable)
@@ -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:// -> ()"