aboutsummaryrefslogtreecommitdiff
path: root/cmd/show-object/main.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-19 16:19:24 +0000
committerGravatar Runxi Yu2026-03-19 17:17:18 +0000
commit3c7add2cf4154c54c42d348bc462e29198e69338 (patch)
treeab0c7e9359e7e44fe951fa6a09825aa299314172 /cmd/show-object/main.go
parent*: Update call sites (diff)
signatureNo signature
object/resolve: Object resolver v0.1.85
Diffstat (limited to 'cmd/show-object/main.go')
-rw-r--r--cmd/show-object/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/show-object/main.go b/cmd/show-object/main.go
index f8947384..0da0c026 100644
--- a/cmd/show-object/main.go
+++ b/cmd/show-object/main.go
@@ -51,7 +51,7 @@ func run(repoPath, name *string) error {
return fmt.Errorf("resolve %q: %w", *name, err)
}
- s, err := repo.ReadStored(id)
+ s, err := repo.Resolver().ExactObject(id)
if err != nil {
_ = repo.Close()