From 06fe0c2f47eaf467db8ab1443e61dfa1c280f30a Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Wed, 13 Dec 2006 00:13:27 +0100 Subject: Add display of tree content w/ui-tree.c Signed-off-by: Lars Hjemli --- ui-summary.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ui-summary.c') diff --git a/ui-summary.c b/ui-summary.c index cc918ad..29baa74 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -27,6 +27,11 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, pretty_print_commit(CMIT_FMT_ONELINE, commit, ~0, buf, sizeof(buf), 0, NULL, NULL, 0); html_txt(buf); + html("tree"); html("\n"); } else { html(""); @@ -41,7 +46,7 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, static void cgit_print_branches() { html(""); - html("\n"); + html("\n"); for_each_branch_ref(cgit_print_branch_cb, NULL); html("
Branch nameHead commit
Branch nameLatestLink
"); } -- cgit v1.2.3-59-g8ed1b