bitboxer/git-commit-notifier — pull request #127 by pmorch (2012-01-27 19:36:22+00:00)
Title: Suggestion: More changes for gitweb integration

First of all, the gitweb integration is done in two places. The same
approach should be taken in both places. (Perhaps refactoring is in
order, but it is so tiny)

Second, if one has a bare repository called simply 'project', then
gitweb integration wasn't possible using the old method.

Now, these are the gitweb.project settings for various circumstances:

A "normal", non-bare repository called "test.git":
project: test.git/.git

A bare repository called "test.git":
project: test.git

A bare repository called "test":
project: test

This follows convenction for the 'h' parameter that gitweb uses