aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo_cat_file.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-20 22:52:58 +0800
committerGravatar Runxi Yu2026-02-20 22:52:58 +0800
commitf49c95662bda1f2c337dbe872644afa1ca5cbbec (patch)
tree502b399c86f0093b50ad5fc80b73f75f4c614733 /internal/testgit/repo_cat_file.go
parentconfig: Import from the previous version and fix test harnesses (diff)
signatureNo signature
objectid: Rename from oid
Diffstat (limited to 'internal/testgit/repo_cat_file.go')
-rw-r--r--internal/testgit/repo_cat_file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/testgit/repo_cat_file.go b/internal/testgit/repo_cat_file.go
index 7533e484..c905521f 100644
--- a/internal/testgit/repo_cat_file.go
+++ b/internal/testgit/repo_cat_file.go
@@ -3,11 +3,11 @@ package testgit
import (
"testing"
- "codeberg.org/lindenii/furgit/oid"
+ "codeberg.org/lindenii/furgit/objectid"
)
// CatFile returns raw output from git cat-file.
-func (repo *TestRepo) CatFile(tb testing.TB, mode string, id oid.ObjectID) []byte {
+func (repo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte {
tb.Helper()
return repo.RunBytes(tb, "cat-file", mode, id.String())
}