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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)