From 040b572d95e4ca27e1ada6113c405b8a1eb4a669 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 11 Mar 2026 20:41:32 +0800 Subject: commitquery: Merge from ancestor and mergebases --- commitquery/commit.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 commitquery/commit.go (limited to 'commitquery/commit.go') diff --git a/commitquery/commit.go b/commitquery/commit.go new file mode 100644 index 00000000..f4709270 --- /dev/null +++ b/commitquery/commit.go @@ -0,0 +1,17 @@ +package commitquery + +import ( + commitgraphread "codeberg.org/lindenii/furgit/commitgraph/read" + "codeberg.org/lindenii/furgit/objectid" +) + +// commitData stores the metadata needed by commit-domain queries. +type commitData struct { + ID objectid.ObjectID + Parents []parentRef + CommitTime int64 + Generation uint64 + HasGeneration bool + GraphPos commitgraphread.Position + HasGraphPos bool +} -- cgit v1.3.1-10-gc9f91