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
4
cgit.h
4
cgit.h
|
@ -65,9 +65,9 @@ struct cgit_repo {
|
|||
char *desc;
|
||||
char *owner;
|
||||
char *defbranch;
|
||||
char *group;
|
||||
char *module_link;
|
||||
char *readme;
|
||||
char *section;
|
||||
char *clone_url;
|
||||
int snapshots;
|
||||
int enable_log_filecount;
|
||||
|
@ -156,12 +156,12 @@ struct cgit_config {
|
|||
char *logo;
|
||||
char *logo_link;
|
||||
char *module_link;
|
||||
char *repo_group;
|
||||
char *robots;
|
||||
char *root_title;
|
||||
char *root_desc;
|
||||
char *root_readme;
|
||||
char *script_name;
|
||||
char *section;
|
||||
char *virtual_root;
|
||||
int cache_size;
|
||||
int cache_dynamic_ttl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue