summaryrefslogtreecommitdiffstats
path: root/models/git_diff.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/git_diff.go')
-rw-r--r--models/git_diff.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/models/git_diff.go b/models/git_diff.go
index e3d5df2648..d5a6cf7daa 100644
--- a/models/git_diff.go
+++ b/models/git_diff.go
@@ -17,17 +17,15 @@ import (
"strings"
"github.com/Unknwon/com"
- "github.com/sergi/go-diff/diffmatchpatch"
- "golang.org/x/net/html/charset"
- "golang.org/x/text/transform"
-
- "github.com/gogits/git-module"
-
"github.com/go-gitea/gitea/modules/base"
"github.com/go-gitea/gitea/modules/log"
"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/sergi/go-diff/diffmatchpatch"
+ "golang.org/x/net/html/charset"
+ "golang.org/x/text/transform"
)
type DiffLineType uint8