From: Mike Frysinger Date: Tue, 10 Mar 2015 05:45:55 +0000 (-0400) Subject: gentoo: git_gentoo_url: update URL to the new system X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1f2770042c7e3331d015551c8a328053aa1b65d9;p=home.git gentoo: git_gentoo_url: update URL to the new system --- diff --git a/.profile.d/gentoo.sh b/.profile.d/gentoo.sh index bfacf84..d656210 100644 --- a/.profile.d/gentoo.sh +++ b/.profile.d/gentoo.sh @@ -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