From 0fc7c9bf4d99b3e36beba1885f6212ed7992e8dc Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 13 Aug 2025 16:58:34 +1000 Subject: [PATCH] common.sh: fetch the "tree" URL from the git remote config Hopefully I can remove the URL from the control file --- common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.sh b/common.sh index e352901..667c0eb 100644 --- a/common.sh +++ b/common.sh @@ -102,7 +102,9 @@ get_type() get_url() { - get_control_field "$1" 4 + if ! git remote get_url "$1" 2>/dev/null; then + printf 'linux-next\n' + fi } get_remote_branch() -- 2.47.3