aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c3
1 files changed, 2 insertions, 1 deletions
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;
59 59
60int cgit_get_cmd_index(const char *cmd) 60int cgit_get_cmd_index(const char *cmd)
61{ 61{
62 static char *cmds[] = {"log", "commit", "diff", "tree", "view", "blob", "snapshot", NULL}; 62 static char *cmds[] = {"log", "commit", "diff", "tree", "blob",
63 "snapshot", NULL};
63 int i; 64 int i;
64 65
65 for(i = 0; cmds[i]; i++) 66 for(i = 0; cmds[i]; i++)