aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-15 10:57:32 +0200
committerAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-15 10:57:32 +0200
commitae880cb54f43744225768c035bf5a97dc859d4c0 (patch)
tree2ca3b7962a6b5df7e5f113c97af6a1b92d5e282c /cgit.c
parent80181ff7792d7a8c2248aa49279ae9464bf4b6cb (diff)
downloadcgit-ae880cb54f43744225768c035bf5a97dc859d4c0.tar.gz
cgit-ae880cb54f43744225768c035bf5a97dc859d4c0.tar.bz2
cgit-ae880cb54f43744225768c035bf5a97dc859d4c0.zip
Added repository section description
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index ca318e8..130f49d 100644
--- a/cgit.c
+++ b/cgit.c
@@ -97,6 +97,8 @@ void cgit_repo_config(struct cgit_repo *repo, const char *name, const char *valu
item->util = strdup_first_line(value);
} else if (!strcmp(name, "section"))
repo->section = strdup_first_line(value);
+ else if (!strcmp(name, "section_desc"))
+ repo->section_desc = strdup_first_line(value);
else if (!strcmp(name, "snapshot-prefix"))
repo->snapshot_prefix = strdup_first_line(value);
else if (!strcmp(name, "readme") && value != NULL) {