diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-05-18 22:48:22 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-18 22:51:18 +0200 |
commit | 5877c49f68b1e1bef94b4867f22c336f0e1605b6 (patch) | |
tree | 4e628096d9f189b7ef5ff9dcda40a07a5f7b21d0 /cgit.h | |
parent | 08cc2e5f0e24773dad81d38bd6b689e36afe9dda (diff) | |
download | cgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.tar.gz cgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,7 @@ struct repoinfo { char *desc; char *owner; char *defbranch; + char *group; char *module_link; int snapshots; int enable_log_filecount; @@ -80,6 +81,7 @@ extern char *cgit_module_link; extern char *cgit_virtual_root; extern char *cgit_script_name; extern char *cgit_cache_root; +extern char *cgit_repo_group; extern int cgit_nocache; extern int cgit_snapshots; |