summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-06 14:18:34 +0100
committerAndrey Nering <andrey.nering@gmail.com>2016-11-06 11:18:34 -0200
commit6e4252dad4d162fb582c012efecd29e9fdf5819c (patch)
tree3aa10bee3fd9f96e042cd299f0d8756abc5dc431 /routers
parent55a4d46f5d2aa114752ac3880d0d75ed288fea67 (diff)
downloadgitea-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 'routers')
-rw-r--r--routers/api/v1/convert/convert.go2
-rw-r--r--routers/api/v1/repo/file.go2
-rw-r--r--routers/install.go2
-rw-r--r--routers/repo/commit.go2
-rw-r--r--routers/repo/download.go2
-rw-r--r--routers/repo/editor.go2
-rw-r--r--routers/repo/http.go2
-rw-r--r--routers/repo/middlewares.go2
-rw-r--r--routers/repo/pull.go2
-rw-r--r--routers/repo/repo.go2
-rw-r--r--routers/repo/setting.go2
-rw-r--r--routers/repo/view.go2
-rw-r--r--routers/repo/webhook.go2
-rw-r--r--routers/repo/wiki.go2
14 files changed, 14 insertions, 14 deletions
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index 49c1941a46..94a918be48 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -9,7 +9,7 @@ import (
"github.com/Unknwon/com"
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
api "github.com/gogits/go-gogs-client"
"github.com/go-gitea/gitea/models"
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index 0dabea8b96..fcf2e0573b 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -5,7 +5,7 @@
package repo
import (
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/install.go b/routers/install.go
index 0118791635..35728c3ca9 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -17,7 +17,7 @@ import (
"gopkg.in/ini.v1"
"gopkg.in/macaron.v1"
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index fff88380ec..6d7eec92ad 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -13,7 +13,7 @@ import (
"github.com/go-gitea/gitea/modules/base"
"github.com/go-gitea/gitea/modules/context"
"github.com/go-gitea/gitea/modules/setting"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
)
const (
diff --git a/routers/repo/download.go b/routers/repo/download.go
index c1f8142cd8..5cb8fb6817 100644
--- a/routers/repo/download.go
+++ b/routers/repo/download.go
@@ -8,7 +8,7 @@ import (
"io"
"path"
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/modules/base"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/repo/editor.go b/routers/repo/editor.go
index c26f033c6e..26f74ef3d0 100644
--- a/routers/repo/editor.go
+++ b/routers/repo/editor.go
@@ -18,7 +18,7 @@ import (
"github.com/go-gitea/gitea/modules/log"
"github.com/go-gitea/gitea/modules/setting"
"github.com/go-gitea/gitea/modules/template"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
)
const (
diff --git a/routers/repo/http.go b/routers/repo/http.go
index a97593f26e..36e53008d8 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -20,7 +20,7 @@ import (
"strings"
"time"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/base"
diff --git a/routers/repo/middlewares.go b/routers/repo/middlewares.go
index 2d0ebe1039..02706dbdb3 100644
--- a/routers/repo/middlewares.go
+++ b/routers/repo/middlewares.go
@@ -5,7 +5,7 @@ import (
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
)
func SetEditorconfigIfExists(ctx *context.Context) {
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index c57a03153c..50cd77f3fb 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -17,7 +17,7 @@ import (
"github.com/go-gitea/gitea/modules/context"
"github.com/go-gitea/gitea/modules/log"
"github.com/go-gitea/gitea/modules/setting"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
)
const (
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index 6816124721..4bf6d41d15 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -12,7 +12,7 @@ import (
"github.com/Unknwon/com"
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index 869b98897c..eab02e52f1 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -8,7 +8,7 @@ import (
"strings"
"time"
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"
diff --git a/routers/repo/view.go b/routers/repo/view.go
index 0e082b52ea..ef180b773f 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -21,7 +21,7 @@ import (
"github.com/go-gitea/gitea/modules/setting"
"github.com/go-gitea/gitea/modules/template"
"github.com/go-gitea/gitea/modules/template/highlight"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
)
const (
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index 0c2f7c383e..77da3ea480 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -12,7 +12,7 @@ import (
"github.com/Unknwon/com"
- git "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
api "github.com/gogits/go-gogs-client"
"github.com/go-gitea/gitea/models"
diff --git a/routers/repo/wiki.go b/routers/repo/wiki.go
index 4043a96bee..b930ab07ac 100644
--- a/routers/repo/wiki.go
+++ b/routers/repo/wiki.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "github.com/gogits/git-module"
+ "github.com/go-gitea/git"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"