aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-07-22 23:42:55 +0200
committerLars Hjemli <hjemli@gmail.com>2007-07-22 23:44:57 +0200
commit4e9107abfe8d3edff17826875b417bcf40dc7390 (patch)
tree96cfafa9b8838f34e1363ee3019eae64a6229b30 /shared.c
parentmake gen-version.sh run even if . is not in PATH (diff)
downloadcgit-4e9107abfe8d3edff17826875b417bcf40dc7390.tar.xz
cgit-4e9107abfe8d3edff17826875b417bcf40dc7390.zip
Add ui-tag.c
This file implements the tag-command, i.e. printing of annotated tags. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index 1a5b866..06693b0 100644
--- a/shared.c
+++ b/shared.c
@@ -63,7 +63,7 @@ int htmlfd = 0;
int cgit_get_cmd_index(const char *cmd)
{
static char *cmds[] = {"log", "commit", "diff", "tree", "blob",
- "snapshot", NULL};
+ "snapshot", "tag", NULL};
int i;
for(i = 0; cmds[i]; i++)