mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00:00
cgit_print_snapshot_links: use url to specify snapshot name
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user