From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at cryptocrack.de (Lukas Fleischer) Date: Thu, 05 Mar 2015 18:41:30 +0100 Subject: [PATCH] Support .git/category files In-Reply-To: <1425575704-15107-1-git-send-email-glogow@fbihome.de> References: <1425575704-15107-1-git-send-email-glogow@fbihome.de> Message-ID: <20150305174130.12633.85067@s-8d3a28b1.on.site.uni-stuttgart.de> On Thu, 05 Mar 2015 at 18:15:04, Jan-Marek Glogowski wrote: > Gitweb reads .git/category to set a repository section for > grouping. This handles the file in the same way a .git/description > file is handled. > > The file section takes precedence over the ctx.cfg.section_from_path > setting. > --- > cgit.c | 2 +- > cgit.h | 1 + > scan-tree.c | 20 +++++++++++++++++++- > shared.c | 1 + > 4 files changed, 22 insertions(+), 2 deletions(-) > [...] There already are at least two ways to achieve the same thing (using the Git configuration variables gitweb.category or cgit.section and repository-specific cgitrc files). Do we really need another alternative? Is this just for GitWeb compatibility or does this have any advantages over the existing options?