diff options
author | Jason A. Donenfeld | 2016-02-22 16:04:15 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2016-02-22 18:40:13 +0100 |
commit | 5f2664f13c90f083b827d8fafa6cfc01c0c4f513 (patch) | |
tree | 76fff0ba1df2d97bc6e814311ed6494724c47101 /scan-tree.c | |
parent | 75298209bf8386656b82f185e2901690ac5b671c (diff) | |
download | cgit-5f2664f13c90f083b827d8fafa6cfc01c0c4f513.tar.gz cgit-5f2664f13c90f083b827d8fafa6cfc01c0c4f513.tar.bz2 cgit-5f2664f13c90f083b827d8fafa6cfc01c0c4f513.zip |
ui-shared: add homepage to tabs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'scan-tree.c')
-rw-r--r-- | scan-tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scan-tree.c b/scan-tree.c index b5a10ff..2e87999 100644 --- a/scan-tree.c +++ b/scan-tree.c | |||
@@ -61,6 +61,8 @@ static int gitconfig_config(const char *key, const char *value, void *cb) | |||
61 | config_fn(repo, "desc", value); | 61 | config_fn(repo, "desc", value); |
62 | else if (!strcmp(key, "gitweb.category")) | 62 | else if (!strcmp(key, "gitweb.category")) |
63 | config_fn(repo, "section", value); | 63 | config_fn(repo, "section", value); |
64 | else if (!strcmp(key, "gitweb.homepage")) | ||
65 | config_fn(repo, "homepage", value); | ||
64 | else if (starts_with(key, "cgit.")) | 66 | else if (starts_with(key, "cgit.")) |
65 | config_fn(repo, key + 5, value); | 67 | config_fn(repo, key + 5, value); |
66 | 68 | ||