-rw-r--r-- | ui-commit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-commit.c b/ui-commit.c index de3f2cf..3618800 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -171,2 +171,3 @@ void cgit_print_commit(const char *hex) } + if (cgit_repo->snapshots) { htmlf("<tr><th>download</th><td colspan='2' class='sha1'><a href='"); @@ -176,2 +177,3 @@ void cgit_print_commit(const char *hex) htmlf("'>%s</a></td></tr>", filename); + } |