]> git.cameronkatri.com Git - cgit.git/blobdiff - shared.c
Add support for refs view
[cgit.git] / shared.c
index ff600db498a77664e1effa628bf7272e39c385e9..7eb2b0e26d8db080159f6ce3ee9fe9251853c6ce 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -66,7 +66,7 @@ int htmlfd = 0;
 int cgit_get_cmd_index(const char *cmd)
 {
        static char *cmds[] = {"log", "commit", "diff", "tree", "blob",
-                              "snapshot", "tag", NULL};
+                              "snapshot", "tag", "refs", NULL};
        int i;
 
        for(i = 0; cmds[i]; i++)