repo=$(echo "${remote}" | sed 's:.*git[.a-z]*.gentoo.org/::')
url="https://gitweb.gentoo.org/${repo}/commit/?id="
;;
- git@github.com/*|\
+ git@github.com[:/]*|\
*://github.com/*)
- repo=$(echo "${remote}" | sed -e 's,^git@github.com/,,' -e 's,^https://github.com/,,' -e 's,^git://github.com/,,' -e 's:[.]git$::')
+ repo=$(echo "${remote}" | sed -e 's,^git@github.com[:/],,' -e 's,^https://github.com/,,' -e 's,^git://github.com/,,' -e 's:[.]git$::')
url="https://github.com/${repo}/commit/"
;;
git://git.sv.gnu.org/*)
*.googlesource.com/*)
url="${remote%.git}/+/"
;;
+ *://git.enlightenment.org/*)
+ repo=$(echo "${remote}" | sed -e 's,^[^/]*//[^/]*/,,' -e 's,[.]git$,,')
+ url="https://git.enlightenment.org/${repo}.git/commit/?id="
+ ;;
*)
echo "Unknown remote: ${remote}"
exit 1