Remove deprecated /G.XxX.. repository "url fragments" (previously autofixed)
This commit is contained in:
parent
6233fdebdd
commit
b6d922cc68
1 changed files with 0 additions and 14 deletions
|
@ -458,20 +458,6 @@ ensure_connected()
|
||||||
# Find the URL fragment
|
# Find the URL fragment
|
||||||
url_frag=${URL##*"#"}
|
url_frag=${URL##*"#"}
|
||||||
isnoteq "$url_frag" "$URL" || url_frag=
|
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"}
|
URL=${URL%"#$url_frag"}
|
||||||
|
|
||||||
# manifestfile -- sha224 hash if we can, else the default location
|
# manifestfile -- sha224 hash if we can, else the default location
|
||||||
|
|
Loading…
Reference in a new issue