about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-08-23 22:58:39 +0200
committerLars Hjemli <hjemli@gmail.com>2009-08-24 10:22:58 +0200
commite7af002d5c405c82652f739d08ced3908d1f57e7 (patch)
tree1e31e5dd8d33ca4a8392c4d6207b2ff6bf8a0d76 /cgit.h
parentAdd support for --scan-path command line option (diff)
downloadcgit-pink-e7af002d5c405c82652f739d08ced3908d1f57e7.tar.gz
cgit-pink-e7af002d5c405c82652f739d08ced3908d1f57e7.zip
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>
Diffstat (limited to '')
-rw-r--r--cgit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index 5659580..fc7c7d5 100644
--- a/cgit.h
+++ b/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;