summaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-12-19 09:17:43 +0800
committerGitHub <noreply@github.com>2018-12-19 09:17:43 +0800
commit7fd34c051723bb792b500ed0cb34ca588ebb4efb (patch)
treebced13038fa8fd37b46b59e2533538364838ae0c /routers/init.go
parent2a660a1de17daf58b8f7d58dea4b82b107b47536 (diff)
downloadgitea-7fd34c051723bb792b500ed0cb34ca588ebb4efb.tar.gz
gitea-7fd34c051723bb792b500ed0cb34ca588ebb4efb.zip
fix lfs version check warning log when using ssh protocol (#5501)
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/init.go b/routers/init.go
index a52f9ca1b4..3152988ba4 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -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)