aboutsummaryrefslogtreecommitdiff
path: root/reachability/walk_expand_commits_graph.go
diff options
context:
space:
mode:
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
}