diff options
author | Lars Hjemli <hjemli@gmail.com> | 2012-01-03 21:19:29 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2012-01-03 21:19:29 +0000 |
commit | 1de3048d08fc6491630c45437f88f5ab03c0508f (patch) | |
tree | 3a8db575148b0d0a6f86835e5ef283f594d2feac | |
parent | Merge branch 'stable' (diff) | |
parent | Fix segmentation fault in empty repository (diff) | |
download | cgit-pink-1de3048d08fc6491630c45437f88f5ab03c0508f.tar.gz cgit-pink-1de3048d08fc6491630c45437f88f5ab03c0508f.zip |
Merge branch 'stable'
Diffstat (limited to '')
-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 85c2096..3e9282f 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -619,7 +619,7 @@ void cgit_print_docstart(struct cgit_context *ctx) html_attr(ctx->cfg.favicon); html("'/>\n"); } - if (host && ctx->repo) { + if (host && ctx->repo && ctx->qry.head) { html("<link rel='alternate' title='Atom feed' href='"); html(cgit_httpscheme()); html_attr(cgit_hosturl()); |