aboutsummaryrefslogtreecommitdiff
path: root/shared.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared.c b/shared.c
index c7cd8a5..b6d2fa1 100644
--- a/shared.c
+++ b/shared.c
@@ -59,8 +59,7 @@ int htmlfd = 0;
int cgit_get_cmd_index(const char *cmd)
{
- static char *cmds[] = {"log", "commit", "diff", "tree", "blob",
- "snapshot", NULL};
+ static char *cmds[] = {"log", "commit", "diff", "tree", "view", "blob", "snapshot", NULL};
int i;
for(i = 0; cmds[i]; i++)