diff options
| author | 2026-03-28 17:40:02 +0000 | |
|---|---|---|
| committer | 2026-03-28 17:40:02 +0000 | |
| commit | 06583274fa64ad6677773bf4ca54f69226388203 (patch) | |
| tree | 66354bf972d267bf7ee5135eb7e5b90c31f9fe4d /commitquery/compare.go | |
| parent | format/commitgraph/read: Lifetime (diff) | |
| signature | No signature | |
commitquery: Make a reusable engine thingy
Diffstat (limited to 'commitquery/compare.go')
| -rw-r--r-- | commitquery/compare.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commitquery/compare.go b/commitquery/compare.go index 21dc5eb9..7ae984dc 100644 --- a/commitquery/compare.go +++ b/commitquery/compare.go @@ -3,7 +3,7 @@ package commitquery import objectid "codeberg.org/lindenii/furgit/object/id" // Compare compares two internal nodes using merge-base queue ordering. -func (query *Query) compare(left, right nodeIndex) int { +func (query *query) compare(left, right nodeIndex) int { leftGeneration := query.effectiveGeneration(left) rightGeneration := query.effectiveGeneration(right) |
