Remove wrong "git.DefaultContext" (#35364)

This commit is contained in:
wxiaoguang authored and GitHub committed 2025-08-27 16:31:21 +00:00
1 parent e837c998b7
commit 60246730b5
71 files changed
+384 -476

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ import (
)
func BenchmarkGetCommitGraph(b *testing.B) {
currentRepo, err := git.OpenRepository(git.DefaultContext, ".")
currentRepo, err := git.OpenRepository(b.Context(), ".")
if err != nil || currentRepo == nil {
b.Error("Could not open repository")
}