handle kernel.org forks

This commit is contained in:
Jens J 2023-06-24 15:31:56 -05:00 committed by Igor
parent 4be9d86bec
commit 42de8b678c

View File

@ -90,8 +90,8 @@ function memoized_git_ref_to_info() {
declare url="undetermined"
case "${git_source}" in
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git")
url="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/plain/Makefile?h=${sha1}"
"https://git.kernel.org/pub/scm/linux/kernel/"*)
url="${git_source}/plain/Makefile?h=${sha1}"
;;
# @TODO: urgently add support for Google Mirror