From 5764fe95469f65fdee285467f0f87d188fc1a780 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 14 Apr 2008 22:13:38 +0200 Subject: Make branches, tags and log play better together in the summary view Signed-off-by: Lars Hjemli --- ui-summary.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui-summary.c') diff --git a/ui-summary.c b/ui-summary.c index 0b66b52..318148a 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -18,14 +18,14 @@ void cgit_print_summary() html_include(ctx.repo->readme); html(""); } - if (ctx.cfg.summary_log > 0) - cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL, - NULL, NULL, 0); html(""); - if (ctx.cfg.summary_log > 0) - html(""); cgit_print_branches(ctx.cfg.summary_branches); html(""); cgit_print_tags(ctx.cfg.summary_tags); + if (ctx.cfg.summary_log > 0) { + html(""); + cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL, + NULL, NULL, 0); + } html("
 
 
 
"); } -- cgit v1.2.3-70-g09d2