From 5877c49f68b1e1bef94b4867f22c336f0e1605b6 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Fri, 18 May 2007 22:48:22 +0200 Subject: 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 --- cgit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index f3d783e..8a69a1f 100644 --- a/cgit.h +++ b/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; -- cgit v1.2.3-59-g8ed1b