aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo_make_commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit/repo_make_commit.go')
-rw-r--r--internal/testgit/repo_make_commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/testgit/repo_make_commit.go b/internal/testgit/repo_make_commit.go
index a569dfb1..c8bdc428 100644
--- a/internal/testgit/repo_make_commit.go
+++ b/internal/testgit/repo_make_commit.go
@@ -11,5 +11,6 @@ func (testRepo *TestRepo) MakeCommit(tb testing.TB, message string) (objectid.Ob
tb.Helper()
blobID, treeID := testRepo.MakeSingleFileTree(tb, "file.txt", []byte("commit-body\n"))
commitID := testRepo.CommitTree(tb, treeID, message)
+
return blobID, treeID, commitID
}