diff options
author | Lauris BH <lauris@nix.lv> | 2020-03-17 18:19:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 12:19:58 -0400 |
commit | 43c09134a972dc421aa06fb303697671c828cf67 (patch) | |
tree | 6bf8da5bc0a23ce516cd5598ec982b6715fb6716 /routers | |
parent | 2f928316dbc2bb71137e857d97039d4f51f7d405 (diff) | |
download | gitea-43c09134a972dc421aa06fb303697671c828cf67.tar.gz gitea-43c09134a972dc421aa06fb303697671c828cf67.zip |
Migrate to go-git/go-git v5.0.0 (#10735)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/private/hook.go | 2 | ||||
-rw-r--r-- | routers/repo/lfs.go | 6 |
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 ( |