Add support for refs view

This enables the new urls $repo/refs, $repo/refs/heads and $repo/refs/tags,
which can be used to print _all_ branches and/or tags.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Tá an tiomantas seo le fáil i:
Lars Hjemli
2007-10-27 10:36:53 +02:00
tuismitheoir 8efb05f98a
tiomantas 7937d06090
D'athraigh 5 comhad le 37 breiseanna agus 2 scriosta

Féach ar an gComhad

@ -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++)