<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>README</filename>
    </added>
    <added>
      <filename>doc/AUTHORS.markdown</filename>
    </added>
    <added>
      <filename>doc/LICENCE.markdown</filename>
    </added>
    <added>
      <filename>doc/README.markdown</filename>
    </added>
    <added>
      <filename>doc/TODO.markdown</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,44 @@
-# Hash of user: password if authentication is wanted (HTTP Basic auth)
-users:
-  nil
+#  Example configuration file for git-wiki
+# =========================================
+#
+# Currently none of the configuration options is required.
+# In most cases, however, you will want to set the `wikiroot`
+# option to some better location than ~/wiki.
 
-# Directory in which the wiki pages live
-wikiroot:   nil   # Defaults to $HOME/wiki
 
-# Directory in which .git can be found, in case of e.g. subdirectories
-repo_path:  nil   # Defaults to wikiroot
+  # Repository and filesystem information.
+
+# Directory in which the wiki pages live.
+#
+#wikiroot:   nil     # Defaults to ~/wiki
+
+# Directory in which .git can be found. Only use if /not/ the
+# same as `wikiroot`. This is most often the case if you are
+# using a subdirectory of a repository as the wiki directory.
+#
+# E.g. if `/home/bob/code/cool_project` is the project's Git
+# repository but you want to use the `wiki/` subdirectory for
+# the pages, you would configure thus:
+#
+# wikiroot:   /home/bob/code/cool_project/wiki
+# repo_path:  /home/bob/code/cool_project
+#
+# git-wiki will do the right thing.
+#
+#repo_path:  nil     # Defaults to wikiroot
+
+
+  # Wiki parameters
+
+# Default- or &quot;index&quot; page of the wiki.
+#
+#home:       Home    # Defaults to this
+
+
+  # User accounts
+
+# user: password pairs if authentication is wanted (HTTP Basic auth)
+#
+#users:
+#  username:   password
 </diff>
      <filename>config.yml.sample</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ user_config = YAML.load_file ENV[&quot;GITWIKI_CONF&quot;] rescue nil
 GitWiki = OpenStruct.new unless defined? GitWiki
 
 # Authentication
-GitWiki.users     = user_config[&quot;users&quot;]
+GitWiki.users     = user_config[&quot;users&quot;] || {}
 
 # Repository location
 GitWiki.wikiroot  = File.expand_path(user_config[&quot;wikiroot&quot;]  ||
@@ -39,12 +39,11 @@ GitWiki.relative  = if GitWiki.wikiroot != GitWiki.repo_path
 
 
 # Wiki setup
-GitWiki.home      = user_config[&quot;home&quot;] || &quot;/Home&quot;
+GitWiki.home      = &quot;/&quot; + user_config[&quot;home&quot;] || &quot;Home&quot;
 
 # Some type of a link to git-wiki version used
-GitWiki.itself    = user_config[&quot;gitwiki_page&quot;] ||
-                   `git remote -v` =~ (/origin\s+git@(.+?)\.git/) &amp;&amp; &quot;http://#{$1.sub &quot;:&quot;, &quot;/&quot;}/&quot; ||
-                   &quot;http://github.com/rue/git-wiki/&quot;
+GitWiki.itself    = (`git remote -v` =~ (/origin\s+git@(.+?)\.git/) &amp;&amp; &quot;http://#{$1.sub &quot;:&quot;, &quot;/&quot;}/&quot;) ||
+                    &quot;http://github.com/rue/git-wiki/&quot;
 
 # Git needs this.
 require &quot;fileutils&quot;</diff>
      <filename>environment.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>AUTHORS</filename>
    </removed>
    <removed>
      <filename>LICENSE</filename>
    </removed>
    <removed>
      <filename>README.textile</filename>
    </removed>
    <removed>
      <filename>TODO</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>98b760b7dd81b4462619284804467c1ea515cbe4</id>
    </parent>
  </parents>
  <author>
    <name>Eero Saynatkari</name>
    <email>projects@kittensoft.org</email>
  </author>
  <url>http://github.com/rue/giraffe/commit/0f9512787aa468b3c7cf31585d21773f4bff6e19</url>
  <id>0f9512787aa468b3c7cf31585d21773f4bff6e19</id>
  <committed-date>2008-11-27T20:44:09-08:00</committed-date>
  <authored-date>2008-11-27T20:38:59-08:00</authored-date>
  <message>Updated doc stuff a bit.</message>
  <tree>fa876d1a7b0ce1e120ceb6067b228be50c3de2bb</tree>
  <committer>
    <name>Eero Saynatkari</name>
    <email>projects@kittensoft.org</email>
  </committer>
</commit>
