From ffc69736a606fd8f9a10468cce48b9a37b428944 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 16 Jun 2007 20:20:42 +0200 Subject: ui-tree: unify with ui-view, use path to select tree/blob This teaches ui-tree to show both trees and blobs, thereby making ui-view superfluous. At the same time, ui-tree is extended to honour the specified path instead of requiering a tree/blob sha1. --- ui-commit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui-commit.c') diff --git a/ui-commit.c b/ui-commit.c index 1d12bbb..ed5384d 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -182,8 +182,7 @@ void cgit_print_commit(const char *hex) cgit_print_date(info->committer_date, FMT_LONGDATE); html("\n"); html("tree%s\n", sha1_to_hex(commit->tree->object.sha1)); for (p = commit->parents; p ; p = p->next) { -- cgit 1.4.1