fix(git): use ListContext instead of List when fetching remote refs [C9S-263] (#2939)

This commit is contained in:
Josiah Clumont
2026-06-22 08:30:20 +12:00
committed by GitHub
parent 26334e9088
commit 217fe870ef
+1 -1
View File
@@ -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)
}