]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-shared.c
Makefile: add target "get-git"
[cgit.git] / ui-shared.c
index ca2ee822da6a37173b3ef9852fe2b3ce6c220c85..5c5bcf35a71e8a09dfdc39f144af4b4e6629fd46 100644 (file)
@@ -227,6 +227,12 @@ void cgit_commit_link(char *name, char *title, char *class, char *head,
        reporevlink("commit", name, title, class, head, rev, NULL);
 }
 
+void cgit_snapshot_link(char *name, char *title, char *class, char *head,
+                       char *rev, char *archivename)
+{
+       reporevlink("snapshot", name, title, class, head, rev, archivename);
+}
+
 void cgit_diff_link(char *name, char *title, char *class, char *head,
                    char *new_rev, char *old_rev, char *path)
 {