diff options
Diffstat (limited to 'internal/testgit/repo_make_commit.go')
| -rw-r--r-- | internal/testgit/repo_make_commit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/testgit/repo_make_commit.go b/internal/testgit/repo_make_commit.go index a329ee8a..35619334 100644 --- a/internal/testgit/repo_make_commit.go +++ b/internal/testgit/repo_make_commit.go @@ -3,11 +3,11 @@ package testgit import ( "testing" - "codeberg.org/lindenii/furgit/oid" + "codeberg.org/lindenii/furgit/objectid" ) // MakeCommit creates a commit over a single-file tree and returns (blobID, treeID, commitID). -func (repo *TestRepo) MakeCommit(tb testing.TB, message string) (oid.ObjectID, oid.ObjectID, oid.ObjectID) { +func (repo *TestRepo) MakeCommit(tb testing.TB, message string) (objectid.ObjectID, objectid.ObjectID, objectid.ObjectID) { tb.Helper() blobID, treeID := repo.MakeSingleFileTree(tb, "file.txt", []byte("commit-body\n")) commitID := repo.CommitTree(tb, treeID, message) |
