diff options
Diffstat (limited to 'internal/testgit/repo_mktree.go')
| -rw-r--r-- | internal/testgit/repo_mktree.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/testgit/repo_mktree.go b/internal/testgit/repo_mktree.go index 0d3f0ea7..34e6388d 100644 --- a/internal/testgit/repo_mktree.go +++ b/internal/testgit/repo_mktree.go @@ -7,10 +7,10 @@ import ( ) // Mktree creates a tree from textual mktree input and returns its ID. -func (repo *TestRepo) Mktree(tb testing.TB, input string) objectid.ObjectID { +func (testRepo *TestRepo) Mktree(tb testing.TB, input string) objectid.ObjectID { tb.Helper() - hex := repo.RunInput(tb, []byte(input), "mktree") - id, err := objectid.ParseHex(repo.algo, hex) + hex := testRepo.RunInput(tb, []byte(input), "mktree") + id, err := objectid.ParseHex(testRepo.algo, hex) if err != nil { tb.Fatalf("parse mktree output %q: %v", hex, err) } |
