From 971e9a614c2a8342234d7e4cf8d1749f97c9c285 Mon Sep 17 00:00:00 2001 From: eejebring Date: Fri, 21 Aug 2026 23:19:33 +0200 Subject: [PATCH] fix --- git.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git.lua b/git.lua index cdf1e5f..6c1926f 100644 --- a/git.lua +++ b/git.lua @@ -73,7 +73,7 @@ local function parseGiteaURL(url) origin = "", owner = "", repo = "", - branch = "", + --branch = "", treeUrl = "", } local lowerUrl = string.lower(url) @@ -96,7 +96,7 @@ local function parseGiteaURL(url) info.treeUrl = ("%s%s/api/v1/repos/%s/%s/git/trees/%s%s?recursive=1") - :format(info.protocol, info.base, info.owner, info.repo, info.branch, ending) + :format(info.protocol, info.base, info.owner, info.repo, ending) for k, v in pairs(info) do if v == "" then