Subdirectories with the same name as existing repositories

Konstantin Ryabitsev mricon at kernel.org
Mon Mar 31 21:35:04 CEST 2014


On 28/03/14 06:58 PM, Julian Maurice wrote:
> Hi!
> 
> I encountered a small problem with latest CGit.
> With this configuration:
> 
> remove-suffix=1
> scan-path=/srv/git
> 
> and these directories under /srv/git:
> 
> /srv/git/foo.git
> /srv/git/foo/bar.git
> 
> I was unable to access to http://mycgit/foo/bar/ (says "Invalid request")
> 
> I wrote a patch that fixes the problem
> 
> https://github.com/jajm/cgit/commit/6d5c1204de28dbe09dcc135cfcce208372f30437
> 
> It's running there: https://git.jajm.org/
>   https://git.jajm.org/libtap13/
>   https://git.jajm.org/libtap13/debian/
> 
> Please tell me if there is something I can do to help integrate this patch.

This is actually an issue that is affecting us as well, and I would love
to see this patch included in the next cgit update.

Best,
-- 
Konstantin Ryabitsev
Senior Systems Administrator
Linux Foundation Collab Projects
Montréal, Québec

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 713 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140331/8f49caab/attachment.asc>


More information about the CGit mailing list