repo.name re-writes

June Bug june at causal.agency
Sun Jan 5 22:44:34 CET 2020


> On Jan 5, 2020, at 13:32, Max Resnick <cgit at mresnick.fastmail.fm> wrote:
> 
> Apologies if this has been answered elsewhere or prior on the mailing
> list.
> 
> I'm using gitolite and cgit together and gitolite is using bare repos
> following the convention of `foobar.git` which is then being used as
> repo.name.  I was wondering if there's a way to re-write that name so it
> would be just `foobar`.

remove-suffix
    If set to "1" and scan-path is enabled, if any repositories are
    found with a suffix of ".git", this suffix will be removed for the
    url and name. This must be defined prior to scan-path. Default 
    value: "0". See also: scan-path.                                  


More information about the CGit mailing list