aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo_mktree.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit/repo_mktree.go')
-rw-r--r--internal/testgit/repo_mktree.go6
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)
}