diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-06-13 23:05:10 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-06-13 23:05:10 +0000 |
commit | 1b1bf635b59a349a9238a1d63a21d03d9949e185 (patch) | |
tree | 78d1501781d72f0698f673e9c44450e32118d843 /ui-summary.c | |
parent | b88cda6e5b4472fc1bb0ae00d9fb974ec4f61d7a (diff) | |
parent | a1429dbc89f9c0945e32cea9fd3424d2fe56aeab (diff) | |
download | cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.gz cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.bz2 cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.zip |
Merge branch 'lh/clone-url'
Diffstat (limited to 'ui-summary.c')
-rw-r--r-- | ui-summary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-summary.c b/ui-summary.c index 1e9a1b6..227ed27 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -62,7 +62,7 @@ void cgit_print_summary() NULL, NULL, 0, 0); } if (ctx.repo->clone_url) - print_urls(ctx.repo->clone_url, NULL); + print_urls(expand_macros(ctx.repo->clone_url), NULL); else if (ctx.cfg.clone_prefix) print_urls(ctx.cfg.clone_prefix, ctx.repo->url); html("</table>"); @@ -113,7 +113,7 @@ void cgit_print_repo_readme(char *path) */ html("<div id='summary'>"); if (ctx.repo->about_filter) - cgit_open_filter(ctx.repo->about_filter, ctx.repo); + cgit_open_filter(ctx.repo->about_filter); if (ref) cgit_print_file(tmp, ref); else |