From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at mresnick.fastmail.fm (Max Resnick) Date: Sun, 5 Jan 2020 14:49:01 -0800 Subject: repo.name re-writes In-Reply-To: References: <20200105183236.gphocim5hbtejaan@skipper.bing> Message-ID: <20200105224901.gxnuihx75fr4gz7y@skipper.bing> Thank you! I apparently wasn't using the correct search term in man. On Sun, Jan 05, 2020 at 04:44:34PM -0500, June Bug wrote: > > 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.