Ubuntu: gitweb always looks for projects in /var/cache/git (“404 - no projects found”)
- From
- Alfonso Muñoz-Pomer Fuentes <alfonso.munozpomer@vti.bund.de>
- Date
- Nov 29, 2012, 13:55 UTC
- Message-ID
- <loom.20121129T145320-133@post.gmane.org>
I’ve discovered this weird behaviour in gitweb and documented a workaround in StackOverflow: http://stackoverflow.com/questions/13609475/ubuntu-gitweb-always-looks-for-projects-in-var-cache-git-404-no-projects-f
Basically, the variable $projectroot in gitweb.cgi in the beginning is reset to the system default value in git_get_projects_list, when it is declared again.
Is this a known bug? Or am I missing something?