1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Description: Fix the import path for fuzzy-patricia
Debian package golang-github-ozeidan-fuzzy-patricia uses import path
"github.com/ozeidan/fuzzy-patricia/patricia".
Author: Jongmin Kim <jmkim@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pkg/gui/controllers/helpers/suggestions_helper.go
+++ b/pkg/gui/controllers/helpers/suggestions_helper.go
@@ -13,7 +13,7 @@
"github.com/jesseduffield/minimal/gitignore"
"github.com/samber/lo"
"golang.org/x/exp/slices"
- "gopkg.in/ozeidan/fuzzy-patricia.v3/patricia"
+ "github.com/ozeidan/fuzzy-patricia/patricia"
)
// Thinking out loud: I'm typically a staunch advocate of organising code by feature rather than type,
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -47,7 +47,7 @@
"github.com/jesseduffield/lazygit/pkg/utils"
"github.com/samber/lo"
"github.com/sasha-s/go-deadlock"
- "gopkg.in/ozeidan/fuzzy-patricia.v3/patricia"
+ "github.com/ozeidan/fuzzy-patricia/patricia"
)
const StartupPopupVersion = 5
--- a/pkg/gui/types/common.go
+++ b/pkg/gui/types/common.go
@@ -11,7 +11,7 @@
"github.com/jesseduffield/lazygit/pkg/tasks"
"github.com/jesseduffield/lazygit/pkg/utils"
"github.com/sasha-s/go-deadlock"
- "gopkg.in/ozeidan/fuzzy-patricia.v3/patricia"
+ "github.com/ozeidan/fuzzy-patricia/patricia"
)
type HelperCommon struct {
|