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

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

No files matched your search

+1
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)