1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 15:07:20 +00:00

fix lfs version check warning log when using ssh protocol (#5501)

This commit is contained in:
Lunny Xiao
2018-12-19 09:17:43 +08:00
committed by GitHub
parent 2a660a1de1
commit 7fd34c0517
5 changed files with 48 additions and 30 deletions

View File

@ -45,6 +45,7 @@ func NewServices() {
// GlobalInit is for global configuration reload-able.
func GlobalInit() {
setting.NewContext()
setting.CheckLFSVersion()
log.Trace("AppPath: %s", setting.AppPath)
log.Trace("AppWorkPath: %s", setting.AppWorkPath)
log.Trace("Custom path: %s", setting.CustomPath)