From mboxrd@z Thu Jan 1 00:00:00 1970 From: june at causal.agency (June Bug) Date: Sun, 5 Jan 2020 16:44:34 -0500 Subject: repo.name re-writes In-Reply-To: <20200105183236.gphocim5hbtejaan@skipper.bing> References: <20200105183236.gphocim5hbtejaan@skipper.bing> Message-ID: > On Jan 5, 2020, at 13:32, Max Resnick 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.