aboutsummaryrefslogtreecommitdiff
path: root/reachability/walk_expand_commits_graph.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 11:54:21 +0800
committerGravatar Runxi Yu2026-03-06 11:55:56 +0800
commitc62c5544fa23378843a3383a9dcd4494e5ea33bc (patch)
tree8b825a36767fe0ba3fb44f27cb634047c4c0318f /reachability/walk_expand_commits_graph.go
parentformat/pack/ingest: Fix delta apply import (diff)
signatureNo signature
format/commitgraph: Split into ./read and ./ v0.1.60
Diffstat (limited to 'reachability/walk_expand_commits_graph.go')
-rw-r--r--reachability/walk_expand_commits_graph.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/reachability/walk_expand_commits_graph.go b/reachability/walk_expand_commits_graph.go
index 15780c8e..bbdc0ade 100644
--- a/reachability/walk_expand_commits_graph.go
+++ b/reachability/walk_expand_commits_graph.go
@@ -3,7 +3,7 @@ package reachability
import (
"errors"
- "codeberg.org/lindenii/furgit/format/commitgraph"
+ commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read"
"codeberg.org/lindenii/furgit/objectid"
"codeberg.org/lindenii/furgit/objecttype"
)
@@ -11,7 +11,7 @@ import (
func (walk *Walk) expandCommitsFromGraph(id objectid.ObjectID) ([]walkItem, bool, error) {
pos, err := walk.reachability.graph.Lookup(id)
if err != nil {
- var notFound *commitgraph.ErrNotFound
+ var notFound *commitgraphread.ErrNotFound
if errors.As(err, &notFound) {
return nil, false, nil
}