Diffstat (limited to 'shared.c')
| -rw-r--r-- | shared.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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++) |