From d88c8e20aebd9408df0306e97dffc2896950342d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 20 Feb 2026 22:59:14 +0800 Subject: *: Replace repo with testRepo --- internal/testgit/repo_cat_file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/testgit/repo_cat_file.go') diff --git a/internal/testgit/repo_cat_file.go b/internal/testgit/repo_cat_file.go index c905521f..9cc56db6 100644 --- a/internal/testgit/repo_cat_file.go +++ b/internal/testgit/repo_cat_file.go @@ -7,7 +7,7 @@ import ( ) // CatFile returns raw output from git cat-file. -func (repo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte { +func (testRepo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte { tb.Helper() - return repo.RunBytes(tb, "cat-file", mode, id.String()) + return testRepo.RunBytes(tb, "cat-file", mode, id.String()) } -- cgit v1.3.1-10-gc9f91