From: Mike Frysinger Date: Sun, 24 May 2015 04:10:24 +0000 (-0400) Subject: update gentoo git url X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3c2b36d5b381d24579a3837032ba6eaa503db299;p=home.git update gentoo git url --- 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=," }