shithub: furgit

Download patch

ref: 779b4f100d2a02b3d135aad24b9ad4ec9f80e60d
parent: 6cdf75c5a9e1f660aa2a86938be680c5db07ffd2
author: Runxi Yu <me@runxiyu.org>
date: Sat Feb 21 06:37:45 EST 2026

ref: Note that the Peeled field is optional

--- a/ref/ref.go
+++ b/ref/ref.go
@@ -17,6 +17,9 @@
 	ID      objectid.ObjectID
 
 	// Peeled is the peeled target when available (for annotated tags).
+	//
+	// This field is optional backend-provided metadata. Backends that do not
+	// have peel metadata available may leave it nil.
 	Peeled *objectid.ObjectID
 }
 
--