about summary refs log tree commit diff
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-01-27 20:16:37 +0100
committerLars Hjemli <hjemli@gmail.com>2009-01-27 20:16:37 +0100
commit7710178e45dee61e85ea77c4221309ce8c086f95 (patch)
tree281c5251777308f18c05d323183b28470445f4bc /shared.c
parentMerge branch 'stable' (diff)
parentui-stats.c: reuse cgit_add_hidden_formfields() (diff)
downloadcgit-pink-7710178e45dee61e85ea77c4221309ce8c086f95.tar.gz
cgit-pink-7710178e45dee61e85ea77c4221309ce8c086f95.zip
Merge branch 'lh/stats'
Conflicts:
	cgit.c
	cgit.css
	cgit.h
	ui-tree.c

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index a764c4d..578a544 100644
--- a/shared.c
+++ b/shared.c
@@ -58,6 +58,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
 	ret->snapshots = ctx.cfg.snapshots;
 	ret->enable_log_filecount = ctx.cfg.enable_log_filecount;
 	ret->enable_log_linecount = ctx.cfg.enable_log_linecount;
+	ret->max_stats = ctx.cfg.max_stats;
 	ret->module_link = ctx.cfg.module_link;
 	ret->readme = NULL;
 	ret->mtime = -1;