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 | cgitrc.5.txt: reformat the "FILTER API" section (diff) | |
| parent | cgit.c: add 'clone-url' setting with support for macro expansion (diff) | |
| download | cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.gz cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.bz2 cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.zip | |
Merge branch 'lh/clone-url'
Diffstat (limited to '')
| -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 | 
