1
0
Fork 0
forked from forgejo/forgejo

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)
This commit is contained in:
Sandro Santilli 2016-11-06 14:18:34 +01:00 committed by Andrey Nering
parent 55a4d46f5d
commit 6e4252dad4
54 changed files with 37 additions and 37 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"

View file

@ -5,7 +5,7 @@
package models
import (
"github.com/gogits/git-module"
"github.com/go-gitea/git"
)
type Branch struct {

View file

@ -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"

View file

@ -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"
)

View file

@ -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"

View file

@ -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"

View file

@ -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"