summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-25 10:49:11 +0000
committerMichał Górny <mgorny@gentoo.org>2013-09-25 10:49:11 +0000
commit70049dba35448659b97b26fe77bbc105f6355e04 (patch)
tree811a7e6cd4b5cc3e0143143ffe46879bf01eadee /eclass/git-r3.eclass
parentmail-mta/nullmailer: Fix incompatibilities with some automake versions, #478312 (diff)
downloadhistorical-70049dba35448659b97b26fe77bbc105f6355e04.tar.gz
historical-70049dba35448659b97b26fe77bbc105f6355e04.tar.bz2
historical-70049dba35448659b97b26fe77bbc105f6355e04.zip
Update git URI stripping for gnome.org.
Diffstat (limited to 'eclass/git-r3.eclass')
-rw-r--r--eclass/git-r3.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index dd8cccb8535a..23f8bee1dc1f 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.7 2013/09/19 09:42:32 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.8 2013/09/25 10:49:11 mgorny Exp $
# @ECLASS: git-r3.eclass
# @MAINTAINER:
@@ -178,6 +178,8 @@ _git-r3_set_gitdir() {
# e.g. git://X/Y.git vs https://X/git/Y.git
# (but just one of the prefixes)
case "${repo_name}" in
+ # gnome.org... who else?
+ browse/*) repo_name=${repo_name#browse/};;
# cgit can proxy requests to git
cgit/*) repo_name=${repo_name#cgit/};;
# pretty common