From 37707aada0157f255dbad920b917efb601184e12 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 13:38:19 +0000 Subject: commitquery: Reorganize --- commitquery/marks.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'commitquery/marks.go') diff --git a/commitquery/marks.go b/commitquery/marks.go index 43ca9f44..2d0b013f 100644 --- a/commitquery/marks.go +++ b/commitquery/marks.go @@ -87,3 +87,16 @@ func (query *query) collectMarkedResults() []nodeIndex { return out } + +type markBits uint8 + +const ( + markLeft markBits = 1 << iota + markRight + markStale + markResult +) + +const ( + allMarks = markLeft | markRight | markStale | markResult +) -- cgit v1.3.1-10-gc9f91