mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 00:54:36 +02:00
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>
This commit is contained in:
parent
71ebcbe23a
commit
4e9107abfe
7 changed files with 111 additions and 32 deletions
2
shared.c
2
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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue