diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-06 14:18:34 +0100 |
---|---|---|
committer | Andrey Nering <andrey.nering@gmail.com> | 2016-11-06 11:18:34 -0200 |
commit | 6e4252dad4d162fb582c012efecd29e9fdf5819c (patch) | |
tree | 3aa10bee3fd9f96e042cd299f0d8756abc5dc431 /cmd | |
parent | 55a4d46f5d2aa114752ac3880d0d75ed288fea67 (diff) | |
download | gitea-6e4252dad4d162fb582c012efecd29e9fdf5819c.tar.gz gitea-6e4252dad4d162fb582c012efecd29e9fdf5819c.zip |
Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/serve.go | 2 | ||||
-rw-r--r-- | cmd/web.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index c4e7d13046..eaaeeb7bc4 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -14,7 +14,7 @@ import ( "time" "github.com/Unknwon/com" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" gouuid "github.com/satori/go.uuid" "github.com/urfave/cli" diff --git a/cmd/web.go b/cmd/web.go index 580fae1cb6..2fb1a7e714 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -38,7 +38,7 @@ import ( "github.com/go-macaron/session" "github.com/go-macaron/toolbox" "github.com/go-xorm/xorm" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" gogs "github.com/gogits/go-gogs-client" version "github.com/mcuadros/go-version" "github.com/urfave/cli" @@ -93,7 +93,7 @@ func checkVersion() { {"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"}, {"gopkg.in/ini.v1", ini.Version, "1.8.4"}, {"gopkg.in/macaron.v1", macaron.Version, "1.1.7"}, - {"github.com/gogits/git-module", git.Version, "0.4.1"}, + {"github.com/go-gitea/git", git.Version, "0.4.1"}, {"github.com/gogits/go-gogs-client", gogs.Version, "0.12.1"}, } for _, c := range checkers { |