diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-05-15 09:57:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 09:57:00 +0800 |
commit | 710245e81e0d65c72231dbb3b5c9f860cdc71899 (patch) | |
tree | 6987b804cb38ab175e6749e7c4b9e77b0362e499 /routers/init.go | |
parent | 95d3d42c5fd51bcc64774841edad158f6e5ef60f (diff) | |
download | gitea-710245e81e0d65c72231dbb3b5c9f860cdc71899.tar.gz gitea-710245e81e0d65c72231dbb3b5c9f860cdc71899.zip |
Refactor models.NewRepoContext to extract git related codes to modules/git (#6941)
* refactor models.NewRepoContext to extract git related codes to modules/git
* fix imports
* refactor
Diffstat (limited to 'routers/init.go')
-rw-r--r-- | routers/init.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/init.go b/routers/init.go index 47f837c523..88422cc6ed 100644 --- a/routers/init.go +++ b/routers/init.go @@ -86,7 +86,6 @@ func GlobalInit() { log.Fatal("Failed to initialize OAuth2 support: %v", err) } - models.LoadRepoConfig() models.NewRepoContext() // Booting long running goroutines. |