diff options
| author | 2026-05-24 11:07:16 +0000 | |
|---|---|---|
| committer | 2026-05-24 11:09:59 +0000 | |
| commit | 36340918040627d93808c09dea8d9bd7b7457f82 (patch) | |
| tree | dab5fa0edbf2f2bf315d1fda73c0f7ac5c8fc6d9 /internal/testgit/object.go | |
| parent | internal/testgit: Add Algorithm method (diff) | |
| signature | No signature | |
object/id: Rename algorithm to object format
Diffstat (limited to 'internal/testgit/object.go')
| -rw-r--r-- | internal/testgit/object.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testgit/object.go b/internal/testgit/object.go index 566c8b82..fe4b329e 100644 --- a/internal/testgit/object.go +++ b/internal/testgit/object.go @@ -19,7 +19,7 @@ func (repo *Repo) HashObject(tb testing.TB, ty typ.Type, body io.Reader) id.Obje tb.Fatalf("hash-object: %v", hex) } - id, err := id.FromHex(repo.algo, string(hex)) + id, err := id.FromHex(repo.objectFormat, string(hex)) if err != nil { tb.Fatalf("parse git hash-object output %q: %v", hex, err) } |
