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
والد 08cc2e5f0e
کامیت 5877c49f68
4فایلهای تغییر یافته به همراه21 افزوده شده و 0 حذف شده

2
cgit.h
مشاهده پرونده

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