I solved my own problem, and I thought I would post the solution in case someone else comes across this.
It turns out that gitweb could simply not find the git
executable. In other words, the make instructions make GITWEB_PROJECTROOT="/path/to/git/git"
shown in http://git-scm.com/book/ch4-6.html is not sufficient.
The reason why it took me so long to figure this out is because one would expect another type of problem coming up, not just an empty list of repositories! It seems like in order to show the latest commit message gitweb runs git rev-list
on the project. When it can't find git
, it simply gives up on listing the projects. All I had to do was adding the line $GIT = '/path/to/git/git';
to my gitweb.conf
.
Cheers!