From 98b152030dd99a58dd0e27aac9d0eee06cc88c43 Mon Sep 17 00:00:00 2001 From: Pablo Saavedra Date: Sat, 9 Jul 2016 07:22:28 +0200 Subject: The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246) Executed go fmt getEngine() not handles DB parameters (#2972) (#2974) Uses .AllCols() for Update in updateMirror() Spanish traslation removed Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function --- modules/context/repo.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/context/repo.go') diff --git a/modules/context/repo.go b/modules/context/repo.go index a330da5c3f..a7ca17d3bc 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -160,6 +160,7 @@ func RepoAssignment(args ...bool) macaron.Handler { ctx.Handle(500, "GetMirror", err) return } + ctx.Data["MirrorEnablePrune"] = ctx.Repo.Mirror.EnablePrune ctx.Data["MirrorInterval"] = ctx.Repo.Mirror.Interval ctx.Data["Mirror"] = ctx.Repo.Mirror } -- cgit v1.2.3