repo=$(echo "${remote}" | sed -e 's,.*/,,' -e 's,[.]git$,,')
url="https://gcc.gnu.org/git/?p=${repo}.git;a=commit;h="
;;
+ rpc://*)
+ url="${remote#rpc://}"
+ url="https://${url/\//.googlesource.com/}/+/"
+ ;;
*.googlesource.com/*)
url="${remote%.git}/+/"
;;