summaryrefslogtreecommitdiff
path: root/scan-tree.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-02-22 16:04:15 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-22 18:40:13 +0100
commit5f2664f13c90f083b827d8fafa6cfc01c0c4f513 (patch)
tree76fff0ba1df2d97bc6e814311ed6494724c47101 /scan-tree.c
parent75298209bf8386656b82f185e2901690ac5b671c (diff)
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.c2
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)
config_fn(repo, "desc", value);
else if (!strcmp(key, "gitweb.category"))
config_fn(repo, "section", value);
+ else if (!strcmp(key, "gitweb.homepage"))
+ config_fn(repo, "homepage", value);
else if (starts_with(key, "cgit."))
config_fn(repo, key + 5, value);