From 1e2c2dc058e137bf8055c542dddaed4a2bb0a401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Sun, 23 Nov 2025 17:46:43 -0500 Subject: [PATCH] fix repo url parsing (again) --- modules/git/url/url.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/git/url/url.go b/modules/git/url/url.go index 861573ee87..2283bff5db 100644 --- a/modules/git/url/url.go +++ b/modules/git/url/url.go @@ -140,9 +140,10 @@ func ParseRepositoryURL(ctx context.Context, repoURL string) (*RepositoryURL, er if len(fields) >= 4 { ret.RemainingPath = "/" + fields[3] } + } else { + ret.RepoName = strings.TrimSuffix(fields[1], ".git") } } - return } switch parsed.URL.Scheme {