Should remove-suffix=1 and scan-path work with non-bare repos?
Lukas Fleischer
cgit at cryptocrack.de
Sat Dec 13 11:59:06 CET 2014
On Sat, 13 Dec 2014 at 09:41:34, Charles Dee Rice wrote:
> [...]
> and a non-bare repot /tmp/testing/blah/.git, I see unexpected behavior for the "blah" repot. The repot is named "blah/" on the cgit index page (note trailing slash). The Summary page for "blah/" works as expected, but attempting to view any other data (refs, log, tree, etc), I receive a "No repositories found" error.
> [...]
> Should scanning + remove-suffix work with non-bare repots? Please forgive me if I have missed something simple -- I've been scratching my head on this for a while. Am I doing something silly or missing something in the documentation?
> [...]
While the trailing slash is technically correct, it does not look nice
and does not match what we do in cgit_repobasename() -- so I consider
this a bug. Could be please try the patch I am going to send in a
second?
Regards,
Lukas
More information about the CGit
mailing list