From 4f6317326a98987ae31980980093039cd3ee5797 Mon Sep 17 00:00:00 2001 From: Andreas Wachter Date: Thu, 25 Jan 2024 16:31:47 +0100 Subject: [PATCH] authorize during fetch (#202) --- local/local.go | 1 + 1 file changed, 1 insertion(+) diff --git a/local/local.go b/local/local.go index 254f6a1..bf62bf3 100644 --- a/local/local.go +++ b/local/local.go @@ -469,6 +469,7 @@ func TempClone(repo types.Repo, tempdir string) (*git.Repository, error) { err = r.Fetch(&git.FetchOptions{ RefSpecs: []config.RefSpec{"refs/*:refs/*"}, + Auth: auth, }) if err == git.NoErrAlreadyUpToDate { return r, nil