aboutsummaryrefslogtreecommitdiff
path: root/cmd/show-object
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/show-object')
-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()