shithub: furgit

Download patch

ref: 607bcd7a105864a7a4b92af213ffcf3cbf3a5810
parent: 779b4f100d2a02b3d135aad24b9ad4ec9f80e60d
author: Runxi Yu <me@runxiyu.org>
date: Sat Feb 21 06:37:55 EST 2026

refstore: ResolveFully doesn't inherently peel annotated tags

--- a/refstore/refstore.go
+++ b/refstore/refstore.go
@@ -24,6 +24,9 @@
 	// Implementations may use backend-local lookup semantics for symbolic hops.
 	// Callers that need cross-backend symbolic resolution (for example in a
 	// chain of stores) should prefer repeatedly calling Resolve.
+	//
+	// ResolveFully resolves symbolic references only. It does not imply peeling
+	// annotated tag objects.
 	ResolveFully(name string) (ref.Detached, error)
 	// List returns references matching pattern.
 	//
--