diff options
author | Lars Hjemli | 2007-07-22 23:42:55 +0200 |
---|---|---|
committer | Lars Hjemli | 2007-07-22 23:44:57 +0200 |
commit | 4e9107abfe8d3edff17826875b417bcf40dc7390 (patch) | |
tree | 96cfafa9b8838f34e1363ee3019eae64a6229b30 /cgit.c | |
parent | 71ebcbe23ab548e5c0ad40aa8be5741654ed3201 (diff) | |
download | cgit-4e9107abfe8d3edff17826875b417bcf40dc7390.tar.gz cgit-4e9107abfe8d3edff17826875b417bcf40dc7390.tar.bz2 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 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,9 @@ static void cgit_print_repo_page(struct cacheitem *item) | |||
101 | case CMD_COMMIT: | 101 | case CMD_COMMIT: |
102 | cgit_print_commit(cgit_query_sha1); | 102 | cgit_print_commit(cgit_query_sha1); |
103 | break; | 103 | break; |
104 | case CMD_TAG: | ||
105 | cgit_print_tag(cgit_query_sha1); | ||
106 | break; | ||
104 | case CMD_DIFF: | 107 | case CMD_DIFF: |
105 | cgit_print_diff(cgit_query_sha1, cgit_query_sha2); | 108 | cgit_print_diff(cgit_query_sha1, cgit_query_sha2); |
106 | break; | 109 | break; |