aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/peel_to_commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/fetch/peel_to_commit.go')
-rw-r--r--object/fetch/peel_to_commit.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/object/fetch/peel_to_commit.go b/object/fetch/peel_to_commit.go
index 5ec66411..4a88f6f4 100644
--- a/object/fetch/peel_to_commit.go
+++ b/object/fetch/peel_to_commit.go
@@ -10,6 +10,8 @@ import (
)
// PeelToCommit peels tags until it reaches a commit.
+//
+// Labels: Life-Parent.
func (r *Fetcher) PeelToCommit(id objectid.ObjectID) (*stored.Stored[*commit.Commit], error) {
for {
obj, err := r.ExactObject(id)