[Bug?] remove-suffix config position dependent
kian at kasad.com
Wed Jan 13 22:31:05 UTC 2021
On 21/01/13 11:24PM, Leroy van Logchem wrote:
> CGit v1.2.3 | https://git.zx2c4.com/cgit/
> Compiled in features:
> [+] Lua scripting
> [+] Linux sendfile() usage
> remove-suffix=1 only works when defined _before_ the scan-path config item.
> Is this expected behavior?
Yes. It's listed in the documentation:
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 part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the CGit