diff options
| author | 2026-02-20 22:52:58 +0800 | |
|---|---|---|
| committer | 2026-02-20 22:52:58 +0800 | |
| commit | f49c95662bda1f2c337dbe872644afa1ca5cbbec (patch) | |
| tree | 502b399c86f0093b50ad5fc80b73f75f4c614733 /internal/testgit/repo_mktree.go | |
| parent | config: Import from the previous version and fix test harnesses (diff) | |
| signature | No signature | |
objectid: Rename from oid
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 bd2785e2..0d3f0ea7 100644 --- a/internal/testgit/repo_mktree.go +++ b/internal/testgit/repo_mktree.go @@ -3,14 +3,14 @@ package testgit import ( "testing" - "codeberg.org/lindenii/furgit/oid" + "codeberg.org/lindenii/furgit/objectid" ) // Mktree creates a tree from textual mktree input and returns its ID. -func (repo *TestRepo) Mktree(tb testing.TB, input string) oid.ObjectID { +func (repo *TestRepo) Mktree(tb testing.TB, input string) objectid.ObjectID { tb.Helper() hex := repo.RunInput(tb, []byte(input), "mktree") - id, err := oid.ParseHex(repo.algo, hex) + id, err := objectid.ParseHex(repo.algo, hex) if err != nil { tb.Fatalf("parse mktree output %q: %v", hex, err) } |
