]> git.wh0rd.org Git - home.git/commitdiff
gentoo: git_gentoo_url: update URL to the new system
authorMike Frysinger <vapier@gentoo.org>
Tue, 10 Mar 2015 05:45:55 +0000 (01:45 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Mar 2015 05:45:55 +0000 (01:45 -0400)
.profile.d/gentoo.sh

index bfacf8479663926d71ffdf643f87fb379ea12821..d656210745e79d2239d2721e1cbe0e1c85c413dc 100644 (file)
@@ -65,7 +65,7 @@ _cvs_gentoo_url() {
 git_gentoo_url() {
        local repo=$(git config remote.origin.url | sed 's:.*git.overlays.gentoo.org/::')
        git log -n3 ${1:-HEAD} | \
-               sed "s,^commit ,http://git.overlays.gentoo.org/gitweb/?p=${repo};a=commitdiff;h=,"
+               sed "s,^commit ,http://gitweb.gentoo.org/${repo}/commit/?id=,"
 }
 svn_gentoo_url() {
        if [[ -z $* ]] ; then