summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/private/hook.go2
-rw-r--r--routers/repo/lfs.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/routers/private/hook.go b/routers/private/hook.go
index 6743d02e84..38b37fa7b4 100644
--- a/routers/private/hook.go
+++ b/routers/private/hook.go
@@ -22,7 +22,7 @@ import (
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/util"
pull_service "code.gitea.io/gitea/services/pull"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
"gitea.com/macaron/macaron"
)
diff --git a/routers/repo/lfs.go b/routers/repo/lfs.go
index c3266844b4..d8f1ce62a9 100644
--- a/routers/repo/lfs.go
+++ b/routers/repo/lfs.go
@@ -30,11 +30,11 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
+ gogit "github.com/go-git/go-git/v5"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/object"
"github.com/mcuadros/go-version"
"github.com/unknwon/com"
- gogit "gopkg.in/src-d/go-git.v4"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/object"
)
const (