mirror of
https://git.zx2c4.com/cgit
synced 2025-08-28 05:44:16 +02:00
Introduce 'section' as canonical spelling for 'repo.group'
The 'repo.' prefix should be reserved for repo-specific options, but the option 'repo.group' must still be honored to stay backwards compatible. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
50d5af3adc
commit
e7af002d5c
6 changed files with 22 additions and 17 deletions
2
shared.c
2
shared.c
|
@ -53,7 +53,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
|
|||
ret->path = NULL;
|
||||
ret->desc = "[no description]";
|
||||
ret->owner = NULL;
|
||||
ret->group = ctx.cfg.repo_group;
|
||||
ret->section = ctx.cfg.section;
|
||||
ret->defbranch = "master";
|
||||
ret->snapshots = ctx.cfg.snapshots;
|
||||
ret->enable_log_filecount = ctx.cfg.enable_log_filecount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue