aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/peel_to_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/fetch/peel_to_tree.go')
-rw-r--r--object/fetch/peel_to_tree.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/object/fetch/peel_to_tree.go b/object/fetch/peel_to_tree.go
index 119e76ac..5446eac0 100644
--- a/object/fetch/peel_to_tree.go
+++ b/object/fetch/peel_to_tree.go
@@ -12,6 +12,8 @@ import (
// PeelToTree peels tags until it reaches a tree or commit. If it reaches a
// commit, it returns the commit's root tree.
+//
+// Labels: Life-Parent.
func (r *Fetcher) PeelToTree(id objectid.ObjectID) (*stored.Stored[*tree.Tree], error) {
for {
obj, err := r.ExactObject(id)