Website Summary Files Commits Branches @commit @diff @stats
path: root / scan-tree.c
diff options
context:
space:
mode:
Commit5f2664f13c90f083b827d8fafa6cfc01c0c4f513 (patch)
Author
 Jason A. Donenfeld <Jason@zx2c4.com>
2016-02-22 16:04:15 +0100
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2016-02-22 18:40:13 +0100
Files76fff0ba1df2d97bc6e814311ed6494724c47101 /scan-tree.c
cgit-5f2664f13c90f083b827d8fafa6cfc01c0c4f513.tar
cgit-5f2664f13c90f083b827d8fafa6cfc01c0c4f513.tar.gz
cgit-5f2664f13c90f083b827d8fafa6cfc01c0c4f513.zip
Parent75298209bf8386656b82f185e2901690ac5b671c (diff)
ui-shared: add homepage to tabs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 files changed, 2 insertions, 0 deletions
-rw-r--r--scan-tree.c2
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);