about summary refs log tree commit diff stats
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli2007-05-18 22:48:22 +0200
committerLars Hjemli2007-05-18 22:51:18 +0200
commit5877c49f68b1e1bef94b4867f22c336f0e1605b6 (patch)
tree4e628096d9f189b7ef5ff9dcda40a07a5f7b21d0 /cgit.h
parentRemove unused extern declarations from cgit.h (diff)
downloadcgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.tar.gz
cgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.zip
Teach cgit how to group repositories by category
The new parameter 'repo.group' is used to set the repository group
for the following repositores. Whenever this parameter changes value,
a subheading is generated in the index page (printing the current value
of repo.group).

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h index f3d783e..8a69a1f 100644 --- a/cgit.h +++ b/cgit.h
@@ -36,6 +36,7 @@ struct repoinfo {
36 char *desc; 36 char *desc;
37 char *owner; 37 char *owner;
38 char *defbranch; 38 char *defbranch;
39 char *group;
39 char *module_link; 40 char *module_link;
40 int snapshots; 41 int snapshots;
41 int enable_log_filecount; 42 int enable_log_filecount;
@@ -80,6 +81,7 @@ extern char *cgit_module_link;
80extern char *cgit_virtual_root; 81extern char *cgit_virtual_root;
81extern char *cgit_script_name; 82extern char *cgit_script_name;
82extern char *cgit_cache_root; 83extern char *cgit_cache_root;
84extern char *cgit_repo_group;
83 85
84extern int cgit_nocache; 86extern int cgit_nocache;
85extern int cgit_snapshots; 87extern int cgit_snapshots;