aboutsummaryrefslogtreecommitdiff
path: root/commitquery
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 09:59:30 +0000
committerGravatar Runxi Yu2026-03-29 09:59:30 +0000
commitf265c5585ea25a13cc3c5dde1cad7eb3a2ce6d9a (patch)
treeafbf3d68c995f8666ae4292376b907255bc69e9b /commitquery
parentref/store: Expand docs (diff)
signatureNo signature
commitquery: Update docs
Diffstat (limited to 'commitquery')
-rw-r--r--commitquery/context.go1
-rw-r--r--commitquery/doc.go6
2 files changed, 6 insertions, 1 deletions
diff --git a/commitquery/context.go b/commitquery/context.go
index 92705182..465f05c1 100644
--- a/commitquery/context.go
+++ b/commitquery/context.go
@@ -1,4 +1,3 @@
-// Package commitquery answers commit ancestry and merge-base queries.
package commitquery
import (
diff --git a/commitquery/doc.go b/commitquery/doc.go
new file mode 100644
index 00000000..269512df
--- /dev/null
+++ b/commitquery/doc.go
@@ -0,0 +1,6 @@
+// Package commitquery provides commit ancestry and merge-base queries
+// over object storage.
+//
+// It uses commit-ish object IDs, peeling annotated tags when needed,
+// and can use an optional commit-graph reader for performance.
+package commitquery