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 /models | |
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 'models')
-rw-r--r-- | models/action.go | 2 | ||||
-rw-r--r-- | models/git_diff.go | 2 | ||||
-rw-r--r-- | models/pull.go | 2 | ||||
-rw-r--r-- | models/release.go | 2 | ||||
-rw-r--r-- | models/repo.go | 2 | ||||
-rw-r--r-- | models/repo_branch.go | 2 | ||||
-rw-r--r-- | models/repo_editor.go | 2 | ||||
-rw-r--r-- | models/update.go | 2 | ||||
-rw-r--r-- | models/user.go | 2 | ||||
-rw-r--r-- | models/webhook_slack.go | 2 | ||||
-rw-r--r-- | models/wiki.go | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/models/action.go b/models/action.go index d47ba87d7f..6943802f00 100644 --- a/models/action.go +++ b/models/action.go @@ -16,7 +16,7 @@ import ( "github.com/Unknwon/com" "github.com/go-xorm/xorm" - "github.com/gogits/git-module" + "github.com/go-gitea/git" api "github.com/gogits/go-gogs-client" "github.com/go-gitea/gitea/modules/base" diff --git a/models/git_diff.go b/models/git_diff.go index d5a6cf7daa..704a4a382a 100644 --- a/models/git_diff.go +++ b/models/git_diff.go @@ -22,7 +22,7 @@ import ( "github.com/go-gitea/gitea/modules/process" "github.com/go-gitea/gitea/modules/setting" "github.com/go-gitea/gitea/modules/template/highlight" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" "github.com/sergi/go-diff/diffmatchpatch" "golang.org/x/net/html/charset" "golang.org/x/text/transform" diff --git a/models/pull.go b/models/pull.go index 2828c48a0d..ae508103d0 100644 --- a/models/pull.go +++ b/models/pull.go @@ -17,7 +17,7 @@ import ( "github.com/go-gitea/gitea/modules/setting" "github.com/go-gitea/gitea/modules/sync" "github.com/go-xorm/xorm" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" api "github.com/gogits/go-gogs-client" ) diff --git a/models/release.go b/models/release.go index 2fd47813d1..0e1edd121b 100644 --- a/models/release.go +++ b/models/release.go @@ -12,7 +12,7 @@ import ( "github.com/go-xorm/xorm" - "github.com/gogits/git-module" + "github.com/go-gitea/git" "github.com/go-gitea/gitea/modules/process" ) diff --git a/models/repo.go b/models/repo.go index 848d108eb6..6fa023633c 100644 --- a/models/repo.go +++ b/models/repo.go @@ -28,7 +28,7 @@ import ( "github.com/go-gitea/gitea/modules/setting" "github.com/go-gitea/gitea/modules/sync" "github.com/go-xorm/xorm" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" api "github.com/gogits/go-gogs-client" version "github.com/mcuadros/go-version" ini "gopkg.in/ini.v1" diff --git a/models/repo_branch.go b/models/repo_branch.go index 9cf2e9c43e..4e04c21815 100644 --- a/models/repo_branch.go +++ b/models/repo_branch.go @@ -5,7 +5,7 @@ package models import ( - "github.com/gogits/git-module" + "github.com/go-gitea/git" ) type Branch struct { diff --git a/models/repo_editor.go b/models/repo_editor.go index 33d69e35b2..ecbe029da1 100644 --- a/models/repo_editor.go +++ b/models/repo_editor.go @@ -18,7 +18,7 @@ import ( "github.com/Unknwon/com" gouuid "github.com/satori/go.uuid" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" "github.com/go-gitea/gitea/modules/log" "github.com/go-gitea/gitea/modules/process" diff --git a/models/update.go b/models/update.go index 80d222c5d3..e4d6d0d7d4 100644 --- a/models/update.go +++ b/models/update.go @@ -10,7 +10,7 @@ import ( "os/exec" "strings" - git "github.com/gogits/git-module" + "github.com/go-gitea/git" "github.com/go-gitea/gitea/modules/log" ) diff --git a/models/user.go b/models/user.go index 32242e0ea6..d2e19eb17e 100644 --- a/models/user.go +++ b/models/user.go @@ -24,7 +24,7 @@ import ( "github.com/go-xorm/xorm" "github.com/nfnt/resize" - "github.com/gogits/git-module" + "github.com/go-gitea/git" api "github.com/gogits/go-gogs-client" "github.com/go-gitea/gitea/modules/avatar" diff --git a/models/webhook_slack.go b/models/webhook_slack.go index 9cfbaf25c2..2ee401ee19 100644 --- a/models/webhook_slack.go +++ b/models/webhook_slack.go @@ -10,7 +10,7 @@ import ( "fmt" "strings" - "github.com/gogits/git-module" + "github.com/go-gitea/git" api "github.com/gogits/go-gogs-client" "github.com/go-gitea/gitea/modules/setting" diff --git a/models/wiki.go b/models/wiki.go index f4bf7a3b7f..77b2ae26ae 100644 --- a/models/wiki.go +++ b/models/wiki.go @@ -15,7 +15,7 @@ import ( "github.com/Unknwon/com" - "github.com/gogits/git-module" + "github.com/go-gitea/git" "github.com/go-gitea/gitea/modules/setting" "github.com/go-gitea/gitea/modules/sync" |