* [Bug?] remove-suffix config position dependent
@ 2021-01-13 22:24 Leroy van Logchem
2021-01-13 22:31 ` Kian Kasad
0 siblings, 1 reply; 2+ messages in thread
From: Leroy van Logchem @ 2021-01-13 22:24 UTC (permalink / raw)
To: cgit
Setup
=====
CGit v1.2.3 | https://git.zx2c4.com/cgit/
Compiled in features:
[+] Lua scripting
[+] Linux sendfile() usage
Issue
====
remove-suffix=1 only works when defined _before_ the scan-path config item.
Is this expected behavior?
--
Leroy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bug?] remove-suffix config position dependent
2021-01-13 22:24 [Bug?] remove-suffix config position dependent Leroy van Logchem
@ 2021-01-13 22:31 ` Kian Kasad
0 siblings, 0 replies; 2+ messages in thread
From: Kian Kasad @ 2021-01-13 22:31 UTC (permalink / raw)
To: Leroy van Logchem; +Cc: cgit
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
On 21/01/13 11:24PM, Leroy van Logchem wrote:
> Setup
> =====
> CGit v1.2.3 | https://git.zx2c4.com/cgit/
>
> Compiled in features:
> [+] Lua scripting
> [+] Linux sendfile() usage
>
> Issue
> ====
>
> remove-suffix=1 only works when defined _before_ the scan-path config item.
>
> Is this expected behavior?
Yes. It's listed in the documentation:
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-13 22:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 22:24 [Bug?] remove-suffix config position dependent Leroy van Logchem
2021-01-13 22:31 ` Kian Kasad
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).