About tab not showing on repo page

Lars Hjemli hjemli at gmail.com
Wed Feb 8 18:36:01 CET 2017


On Wed, Feb 8, 2017 at 6:01 PM, David Thurstenson <thurstylark at gmail.com> wrote:
> On my cgit instance[1], I have a few repos that have either a 'README'
> or a 'README.md' file at the root of the repo. In my cgitrc[2] I have
> 'readme=:README' and 'readme=:README.md' (among other things), but I
> still have no about tab on the repo page.

Try to move the 'scan-path' directive to the end of your cgitrc.

>From https://git.zx2c4.com/cgit/tree/cgitrc.5.txt#n392 :

  "Be advised that only the global settings taken before the scan-path
directive will be applied to each repository."

PS: this is a recurring question - maybe the FAQ should be updated, or
the text in cgitrc.5?

Hth,
larsh


More information about the CGit mailing list