github/gollum — pull request #327 by arr2036 (2012-05-09 11:56:42+00:00)
Title: Pass :is_bare to Grit where appropriate

Gitosis is not longer officially supported as of Ubuntu 12.04 and no official package is available, so everyone has to switch to Gitolite *sigh*.

Gitolite initialises bare repositories, and as far as I can tell, will not work with normal repositories (unlike Gitosis).

Grit (and therefore Gollum 2.0) won't work with bare repositories unless the ```:is_bare``` option is passed to Grit::Repo.new.

This patch exposes is_bare via the wiki_options setting in app.rb/sinatra.

The setting can then be toggled in your gollum config file using:

```ruby
Precious::App.settings.wiki_options[:repo_is_bare] = true
```

Allowing Gollum to work with gitolited repositories :)