aboutsummaryrefslogtreecommitdiff
path: root/cmd/show-object/main.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-12 00:11:45 +0800
committerGravatar Runxi Yu2026-03-12 00:11:45 +0800
commitb46eba214daa9a6ede179ed543033b0f3485ec2e (patch)
treefe9dc5569b4f6d77db0dc183b2e3cd1b3b176e06 /cmd/show-object/main.go
parentREADME: Less personal (diff)
signatureNo signature
refstore: s/ResolveFully/ResolveToDetached/g
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 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
}