From 3c2b36d5b381d24579a3837032ba6eaa503db299 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 24 May 2015 00:10:24 -0400 Subject: [PATCH] update gentoo git url --- .profile.d/gentoo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile.d/gentoo.sh b/.profile.d/gentoo.sh index d656210..edfa08a 100644 --- a/.profile.d/gentoo.sh +++ b/.profile.d/gentoo.sh @@ -63,7 +63,7 @@ _cvs_gentoo_url() { unset _cvs_gentoo_url } git_gentoo_url() { - local repo=$(git config remote.origin.url | sed 's:.*git.overlays.gentoo.org/::') + local repo=$(git config remote.origin.url | sed 's:.*git[.a-z]*.gentoo.org/::') git log -n3 ${1:-HEAD} | \ sed "s,^commit ,http://gitweb.gentoo.org/${repo}/commit/?id=," } -- 2.39.5