aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/git.go3
-rw-r--r--modules/setting/setting.go2
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/setting/git.go b/modules/setting/git.go
index 59951fcb94..5d9701a435 100644
--- a/modules/setting/git.go
+++ b/modules/setting/git.go
@@ -7,8 +7,9 @@ package setting
import (
"time"
- "code.gitea.io/git"
+ "code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
+
version "github.com/mcuadros/go-version"
)
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index ac44f54f0a..95fca20b11 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -20,8 +20,8 @@ import (
"strings"
"time"
- "code.gitea.io/git"
"code.gitea.io/gitea/modules/generate"
+ "code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
_ "code.gitea.io/gitea/modules/minwinsvc" // import minwinsvc for windows services
"code.gitea.io/gitea/modules/user"