summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-26 11:18:06 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-26 11:19:00 +0200
commit01e0cef7cbdc919057be570cbd4cf88e72447b89 (patch)
treec55045d0ab0a60f1ef8085d4f8d8978eb3256423 /eclass/git-r3.eclass
parentvdr-plugin-2.eclass: added EAPI=6 support (diff)
downloadgentoo-01e0cef7cbdc919057be570cbd4cf88e72447b89.tar.gz
gentoo-01e0cef7cbdc919057be570cbd4cf88e72447b89.tar.bz2
gentoo-01e0cef7cbdc919057be570cbd4cf88e72447b89.zip
git-r3.eclass: Remove special logic for obsolete Google Code
Remove the special logic that was needed to handle Google Code git hosting since the service has been discontinued and no longer works.
Diffstat (limited to 'eclass/git-r3.eclass')
-rw-r--r--eclass/git-r3.eclass18
1 files changed, 1 insertions, 17 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index a38472b1e846..f30600b930ad 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -328,7 +328,7 @@ _git-r3_set_gitdir() {
git/*) repo_name=${repo_name#git/};;
# gentoo.org
gitroot/*) repo_name=${repo_name#gitroot/};;
- # google code, sourceforge
+ # sourceforge
p/*) repo_name=${repo_name#p/};;
# kernel.org
pub/scm/*) repo_name=${repo_name#pub/scm/};;
@@ -567,22 +567,6 @@ git-r3_fetch() {
die "dev-vcs/git built with USE=curl required."
fi
- if [[ ${r} == https://code.google.com/* ]]; then
- # Google Code has special magic on top of git that:
- # 1) can't handle shallow clones at all,
- # 2) fetches duplicately when tags are pulled in with branch
- # so automatically switch to single+tags mode.
- if [[ ${clone_type} == shallow ]]; then
- einfo " Google Code does not support shallow clones"
- einfo " using \e[1mEGIT_CLONE_TYPE=single+tags\e[22m"
- clone_type=single+tags
- elif [[ ${clone_type} == single ]]; then
- einfo " git-r3: Google Code does not send tags properly in 'single' mode"
- einfo " using \e[1mEGIT_CLONE_TYPE=single+tags\e[22m"
- clone_type=single+tags
- fi
- fi
-
if [[ ${clone_type} == mirror ]]; then
fetch_command+=(
--prune