From 1f41519a4db79c6f749fa19c463b2cb46340514e Mon Sep 17 00:00:00 2001 From: Andreas Wachter Date: Thu, 25 Jan 2024 16:31:28 +0100 Subject: [PATCH] authorize during fetch --- 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