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. --- shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared.c') diff --git a/shared.c b/shared.c index b6d2fa1..c7cd8a5 100644 --- a/shared.c +++ b/shared.c @@ -59,7 +59,8 @@ int htmlfd = 0; int cgit_get_cmd_index(const char *cmd) { - static char *cmds[] = {"log", "commit", "diff", "tree", "view", "blob", "snapshot", NULL}; + static char *cmds[] = {"log", "commit", "diff", "tree", "blob", + "snapshot", NULL}; int i; for(i = 0; cmds[i]; i++) -- cgit v1.2.3-24-g4f1b