From 217fe870efba6ab38d0484e799c3cdc38aa14deb Mon Sep 17 00:00:00 2001 From: Josiah Clumont Date: Mon, 22 Jun 2026 08:30:20 +1200 Subject: [PATCH] fix(git): use ListContext instead of List when fetching remote refs [C9S-263] (#2939) --- api/git/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/git/git.go b/api/git/git.go index 9b9fc8461e..79b5a21196 100644 --- a/api/git/git.go +++ b/api/git/git.go @@ -118,7 +118,7 @@ func (c *gitClient) ListRefs(ctx context.Context, repositoryUrl string, opt *git URLs: []string{repositoryUrl}, }) - refs, err := rem.List(opt) + refs, err := rem.ListContext(ctx, opt) if err != nil { return nil, checkGitError(err) }