Merge branch 'stable'

This commit is contained in:
Lars Hjemli 2012-01-03 21:19:29 +00:00
commit 1de3048d08

View File

@ -619,7 +619,7 @@ void cgit_print_docstart(struct cgit_context *ctx)
html_attr(ctx->cfg.favicon); html_attr(ctx->cfg.favicon);
html("'/>\n"); html("'/>\n");
} }
if (host && ctx->repo) { if (host && ctx->repo && ctx->qry.head) {
html("<link rel='alternate' title='Atom feed' href='"); html("<link rel='alternate' title='Atom feed' href='");
html(cgit_httpscheme()); html(cgit_httpscheme());
html_attr(cgit_hosturl()); html_attr(cgit_hosturl());