From: june at causal.agency (June Bug) Subject: repo.name re-writes Date: Sun, 5 Jan 2020 16:44:34 -0500 [thread overview] Message-ID: <A2D746CE-E794-463C-9E5A-605AABE3194B@causal.agency> (raw) In-Reply-To: <email@example.com> > 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.
next prev parent reply other threads:[~2020-01-05 21:44 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-05 18:32 cgit 2020-01-05 21:44 ` june [this message] 2020-01-05 22:49 ` cgit
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=A2D746CE-E794-463C-9E5A-605AABE3194B@causal.agency \ --firstname.lastname@example.org \ --subject='Re: repo.name re-writes' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).