diff --git a/models/repo_editor.go b/models/repo_editor.go index 1b1c41ad41624..3c96c18e2b2b0 100644 --- a/models/repo_editor.go +++ b/models/repo_editor.go @@ -13,13 +13,12 @@ import ( "path/filepath" "time" - "github.com/Unknwon/com" - - "code.gitea.io/git" - + "code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/process" "code.gitea.io/gitea/modules/setting" + + "github.com/Unknwon/com" ) // ___________ .___.__ __ ___________.__.__ diff --git a/modules/mirror/sync.go b/modules/mirror/sync.go index bada8f8084b57..1791220217212 100644 --- a/modules/mirror/sync.go +++ b/modules/mirror/sync.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "code.gitea.io/git" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/cache" + "code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/process" "code.gitea.io/gitea/modules/setting" diff --git a/modules/mirror/sync_test.go b/modules/mirror/sync_test.go index 6eb0ed389efc2..7c11e74441599 100644 --- a/modules/mirror/sync_test.go +++ b/modules/mirror/sync_test.go @@ -7,8 +7,8 @@ package mirror import ( "testing" - "code.gitea.io/git" "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/git" "github.com/stretchr/testify/assert" ) diff --git a/modules/notification/action/action.go b/modules/notification/action/action.go index a7c48db5d62d3..a1da0ab24617b 100644 --- a/modules/notification/action/action.go +++ b/modules/notification/action/action.go @@ -9,8 +9,8 @@ import ( "path" "strings" - "code.gitea.io/git" "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/notification/base" )