2
0
mirror of https://git.zx2c4.com/cgit synced 2025-09-05 00:35:17 +00:00

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>
This commit is contained in:
Lars Hjemli
2007-05-18 22:48:22 +02:00
parent 08cc2e5f0e
commit 5877c49f68
4 changed files with 21 additions and 0 deletions

2
cgit.h
View File

@@ -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;