diff options
| author | 2026-05-30 05:13:09 +0000 | |
|---|---|---|
| committer | 2026-05-30 05:13:54 +0000 | |
| commit | 86a2a381cd99fcceef24587d95cddbe94c149482 (patch) | |
| tree | 177837c9c72be3376c1f6e91670fa66c61512b4f /internal/testgit/object.go | |
| parent | ci: Simplify with a local script (diff) | |
| signature | No signature | |
object/id: Parse should belong to object format next
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 5d2a38ec..a46ef02b 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.objectFormat, string(hex)) + id, err := repo.objectFormat.FromString(string(hex)) if err != nil { tb.Fatalf("parse git hash-object output %q: %v", hex, err) } |
