diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,8 @@ static void repo_config(struct cgit_repo *repo, const char *name, const char *va | |||
41 | repo->desc = xstrdup(value); | 41 | repo->desc = xstrdup(value); |
42 | else if (!strcmp(name, "owner")) | 42 | else if (!strcmp(name, "owner")) |
43 | repo->owner = xstrdup(value); | 43 | repo->owner = xstrdup(value); |
44 | else if (!strcmp(name, "homepage")) | ||
45 | repo->homepage = xstrdup(value); | ||
44 | else if (!strcmp(name, "defbranch")) | 46 | else if (!strcmp(name, "defbranch")) |
45 | repo->defbranch = xstrdup(value); | 47 | repo->defbranch = xstrdup(value); |
46 | else if (!strcmp(name, "snapshots")) | 48 | else if (!strcmp(name, "snapshots")) |
@@ -793,6 +795,8 @@ static void print_repo(FILE *f, struct cgit_repo *repo) | |||
793 | fprintf(f, "repo.module-link=%s\n", repo->module_link); | 795 | fprintf(f, "repo.module-link=%s\n", repo->module_link); |
794 | if (repo->section) | 796 | if (repo->section) |
795 | fprintf(f, "repo.section=%s\n", repo->section); | 797 | fprintf(f, "repo.section=%s\n", repo->section); |
798 | if (repo->homepage) | ||
799 | fprintf(f, "repo.homepage=%s\n", repo->homepage); | ||
796 | if (repo->clone_url) | 800 | if (repo->clone_url) |
797 | fprintf(f, "repo.clone-url=%s\n", repo->clone_url); | 801 | fprintf(f, "repo.clone-url=%s\n", repo->clone_url); |
798 | fprintf(f, "repo.enable-commit-graph=%d\n", | 802 | fprintf(f, "repo.enable-commit-graph=%d\n", |