From f49c95662bda1f2c337dbe872644afa1ca5cbbec Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 20 Feb 2026 22:52:58 +0800 Subject: objectid: Rename from oid --- internal/testgit/repo_make_commit.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/testgit/repo_make_commit.go') 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) -- cgit v1.3.1-10-gc9f91