shithub: furgit

Download patch

ref: a9bee89154d68715e173550f632fba563914df0a
parent: d5470e5dd11a16cf785a4115deee9ccdea769da0
author: Runxi Yu <me@runxiyu.org>
date: Tue Nov 25 03:00:00 EST 2025

refs: Clarify how annotated tags are not peeled

--- a/refs.go
+++ b/refs.go
@@ -305,7 +305,7 @@
 // ResolveRefFully resolves a ref by recursively following
 // symbolic references until it reaches a detached ref.
 // Symbolic cycles are detected and reported.
-// Tags are not peeled automatically.
+// Annotated tags are not peeled.
 func (repo *Repository) ResolveRefFully(path string) (Hash, error) {
 	seen := make(map[string]struct{})
 	return repo.resolveRefFully(path, seen)
--