Subdirectories with the same name as existing repositories

Julian Maurice jajm at jajm.org
Fri Mar 28 23:58:32 CET 2014


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.


More information about the CGit mailing list