From: jamie.couture at gmail.com (Jamie Couture)
Subject: [PATCH 3/8] deprecate option index-header
Date: Tue, 20 Mar 2012 21:07:52 -0400 [thread overview]
Message-ID: <1332292077-9709-4-git-send-email-jamie.couture@gmail.com> (raw)
In-Reply-To: <1332292077-9709-1-git-send-email-jamie.couture@gmail.com>
use root-readme instead of index-header
Signed-off-by: Jamie Couture <jamie.couture at gmail.com>
---
cgit.c | 2 --
cgit.h | 1 -
ui-repolist.c | 3 ---
3 files changed, 6 deletions(-)
diff --git a/cgit.c b/cgit.c
index b9b3a66..17f6be0 100644
--- a/cgit.c
+++ b/cgit.c
@@ -139,8 +139,6 @@ void config_cb(const char *name, const char *value)
ctx.cfg.header = xstrdup(value);
else if (!strcmp(name, "logo"))
ctx.cfg.logo = xstrdup(value);
- else if (!strcmp(name, "index-header"))
- ctx.cfg.index_header = xstrdup(value);
else if (!strcmp(name, "index-info"))
ctx.cfg.index_info = xstrdup(value);
else if (!strcmp(name, "logo-link"))
diff --git a/cgit.h b/cgit.h
index 6ee6769..a8ec5ca 100644
--- a/cgit.h
+++ b/cgit.h
@@ -173,7 +173,6 @@ struct cgit_config {
char *footer;
char *head_include;
char *header;
- char *index_header;
char *index_info;
char *logo;
char *logo_link;
diff --git a/ui-repolist.c b/ui-repolist.c
index d946f32..325b1ae 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -232,9 +232,6 @@ void cgit_print_repolist()
cgit_print_docstart(&ctx);
cgit_print_pageheader(&ctx);
- if (ctx.cfg.index_header)
- html_include(ctx.cfg.index_header);
-
if(ctx.qry.sort)
sorted = sort_repolist(ctx.qry.sort);
else
--
1.7.9.3
next prev parent reply other threads:[~2012-03-21 1:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 1:07 [PATCH] Some Documentation Changes jamie.couture
2012-03-21 1:07 ` [PATCH 1/8] cgitrc.5.txt: move deprecated options jamie.couture
2012-03-21 7:12 ` mailings
2012-03-21 1:07 ` [PATCH 2/8] changed wording of " jamie.couture
2012-03-21 7:15 ` mailings
2012-03-21 13:09 ` jamie.couture
2012-03-21 1:07 ` jamie.couture [this message]
2012-03-21 1:07 ` [PATCH 4/8] deprecate option index-info jamie.couture
2012-03-21 1:07 ` [PATCH 5/8] cgitrc.5.txt: change 'formatstring' to two words jamie.couture
2012-03-21 7:15 ` mailings
2012-03-21 1:07 ` [PATCH 6/8] cgitrc.5.txt: correct a few typos jamie.couture
2012-03-21 7:16 ` mailings
2012-03-21 1:07 ` [PATCH 7/8] correct usage of 'webinterface' jamie.couture
2012-03-21 7:17 ` mailings
2012-03-21 1:07 ` [PATCH 8/8] cgitrc.5.txt: one vs. two word changes jamie.couture
2012-03-21 7:19 ` [PATCH] Some Documentation Changes mailings
2012-03-21 8:27 ` larsh
2012-03-21 8:25 ` mailings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332292077-9709-4-git-send-email-jamie.couture@gmail.com \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).