Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/ui-shared.c b/ui-shared.c index aa65988..2596023 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -573,19 +573,4 @@ void cgit_print_filemode(unsigned short mode) html_fileperm(mode); } -void cgit_print_snapshot_links(const char *repo, const char *head, - const char *hex, int snapshots) -{ - const struct cgit_snapshot_format* f; - char *filename; - - for (f = cgit_snapshot_formats; f->suffix; f++) { - if (!(snapshots & f->bit)) - continue; - filename = fmt("%s-%s%s", cgit_repobasename(repo), hex, - f->suffix); - cgit_snapshot_link(filename, NULL, NULL, (char *)head, - (char *)hex, filename); - html("<br/>"); - } -} +/* vim:set sw=8: */ |