]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
Remove deprecated /G.XxX.. repository "url fragments" (previously autofixed)
authorroot <root@localhost>
Fri, 8 Mar 2013 12:55:40 +0000 (04:55 -0800)
committerroot <root@localhost>
Fri, 8 Mar 2013 12:55:40 +0000 (04:55 -0800)
git-remote-gcrypt

index 5e59af92fce0fe0e78c65a65e5bf2b598b137a1c..bb19652175aefb820cc2dc07aee8aba2c4bc69d1 100755 (executable)
@@ -458,20 +458,6 @@ ensure_connected()
        # Find the URL fragment
        url_frag=${URL##*"#"}
        isnoteq "$url_frag" "$URL" || url_frag=
-       isnonnull "$url_frag" || {
-               # find old style  /G.XXXXXX fragment
-               url_frag=${URL##*/G.}
-               if isnoteq "$url_frag" "$URL"; then
-                       URL=${URL%/G."$url_frag"}
-                       isnull "$r_name" || {
-                               git config "remote.$r_name.url" \
-                                       "gcrypt::$URL#$url_frag"
-                               echo_info "Updated URL for $r_name, use #fragment"
-                       }
-               else
-                       url_frag=
-               fi
-       }
        URL=${URL%"#$url_frag"}
 
        # manifestfile -- sha224 hash if we can, else the default location