mirror of
https://git.zx2c4.com/cgit
synced 2025-08-30 22:05:08 +00: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:
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;
|
||||
|
Reference in New Issue
Block a user