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 b50929a0..e92fa472 100644
--- a/cmd/show-object/main.go
+++ b/cmd/show-object/main.go
@@ -73,7 +73,7 @@ func resolveInput(repo *repository.Repository, input string) (objectid.ObjectID,
return id, nil
}
- resolved, err := repo.Refs().ResolveFully(input)
+ resolved, err := repo.Refs().ResolveToDetached(input)
if err != nil {
return objectid.ObjectID{}, err
}