From 616fd9a76a77b09dd29c950cc79a8a038da09c53 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 14 Aug 2026 09:30:24 -1000 Subject: Remove the repository homepage feature --- source/cgit.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/cgit.c') diff --git a/source/cgit.c b/source/cgit.c index 5c11a93..53a33ca 100644 --- a/source/cgit.c +++ b/source/cgit.c @@ -240,8 +240,6 @@ static void print_repo(FILE *f, struct cgit_repo *repo) fprintf(f, "repo.module-link=%s\n", repo->module_link); if (repo->section) fprintf(f, "repo.section=%s\n", repo->section); - if (repo->homepage) - fprintf(f, "repo.homepage=%s\n", repo->homepage); if (repo->clone_url) fprintf(f, "repo.clone-url=%s\n", repo->clone_url); fprintf(f, "repo.enable-blame=%d\n", repo->enable_blame); @@ -1101,8 +1099,6 @@ void cgit_repo_config(struct cgit_repo *repo, const char *name, const char *valu repo->desc = cgit_strdup_first_line(value); else if (!strcmp(name, "owner")) repo->owner = cgit_strdup_first_line(value); - else if (!strcmp(name, "homepage")) - repo->homepage = cgit_strdup_first_line(value); else if (!strcmp(name, "defbranch")) repo->defbranch = cgit_strdup_first_line(value); else if (!strcmp(name, "extra-head-content")) -- cgit v2.8.0