aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@localhost>2013-03-08 04:55:40 -0800
committerroot <root@localhost>2013-03-08 04:55:40 -0800
commitb6d922cc6890c124f6bb185f65d6206829ed8744 (patch)
treec60b4d5b65e350bfcd96d2bbf4318edb1a816ae2
parent6233fdebddd791d8cd03f5c8d570805451b44c5f (diff)
downloadgit-remote-gcrypt-b6d922cc6890c124f6bb185f65d6206829ed8744.zip
git-remote-gcrypt-b6d922cc6890c124f6bb185f65d6206829ed8744.tar.gz
git-remote-gcrypt-b6d922cc6890c124f6bb185f65d6206829ed8744.tar.bz2
Remove deprecated /G.XxX.. repository "url fragments" (previously autofixed)
-rwxr-xr-xgit-remote-gcrypt14
1 files changed, 0 insertions, 14 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 5e59af9..bb19652 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -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