mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
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
This commit is contained in:
parent
95d3d42c5f
commit
710245e81e
6 changed files with 34 additions and 49 deletions
|
@ -86,7 +86,6 @@ func GlobalInit() {
|
|||
log.Fatal("Failed to initialize OAuth2 support: %v", err)
|
||||
}
|
||||
|
||||
models.LoadRepoConfig()
|
||||
models.NewRepoContext()
|
||||
|
||||
// Booting long running goroutines.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue