From eb45342e735818b3c68cbab9b61b23e79ae74418 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 23 Jul 2007 00:11:15 +0200 Subject: cgit_print_snapshot_links: use url to specify snapshot name Signed-off-by: Lars Hjemli --- ui-commit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui-commit.c') diff --git a/ui-commit.c b/ui-commit.c index 50e9e11..90e09ed 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -196,7 +196,8 @@ void cgit_print_commit(char *hex) } if (cgit_repo->snapshots) { html("download"); - cgit_print_snapshot_links(cgit_query_repo,hex,cgit_repo->snapshots); + cgit_print_snapshot_links(cgit_query_repo, cgit_query_head, + hex, cgit_repo->snapshots); html(""); } html("\n"); -- cgit v1.2.3-70-g09d2