summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorFabian Zaremba <fabian@youremail.eu>2017-03-16 12:33:22 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-16 19:33:22 +0800
commitf1d2f16b544ef5ef66a45d0a8859d133c46979a4 (patch)
tree2e5f8e32866a50d291ae7ff6f489d570dd39c977 /routers
parent447c9b428f4cf50174ef7f3fbea56b5405f6bbf8 (diff)
downloadgitea-f1d2f16b544ef5ef66a45d0a8859d133c46979a4.tar.gz
gitea-f1d2f16b544ef5ef66a45d0a8859d133c46979a4.zip
Add notice that LFS mirroring is not supported (#1251)
* Add notice that LFS mirroring is not supported * Drop German translation
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index fa111d5e4a..9b411648c6 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -153,6 +153,7 @@ func Migrate(ctx *context.Context) {
ctx.Data["private"] = ctx.User.LastRepoVisibility
ctx.Data["IsForcedPrivate"] = setting.Repository.ForcePrivate
ctx.Data["mirror"] = ctx.Query("mirror") == "1"
+ ctx.Data["LFSActive"] = setting.LFS.StartServer
ctxUser := checkContextUser(ctx, ctx.QueryInt64("org"))
if ctx.Written() {