git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks jrayhawk)
authorJoey Hess <joey@kitenet.net>
Sat, 24 Jul 2010 10:18:19 +0000 (06:18 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 24 Jul 2010 10:18:19 +0000 (06:18 -0400)
IkiWiki/Plugin/git.pm
debian/changelog

index cb3437e1861a5a7b7786fabc6011e5c8772346e7..899ac4a85f32421f3a6554e726562eb293e8499c 100644 (file)
@@ -109,7 +109,7 @@ sub getsetup () {
                },
                historyurl => {
                        type => "string",
-                       example => "http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
+                       example => "http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=HEAD",
                        description => "gitweb url to show file history ([[file]] substituted)",
                        safe => 1,
                        rebuild => 1,
index 0f6a7c810609032e8a35e16eb33db2c4b5951128..b6a78378736fe04906212d86038d22cbb6e62192 100644 (file)
@@ -3,6 +3,8 @@ ikiwiki (3.20100723) UNRELEASED; urgency=low
   * template: Fix dependency tracking. Broken in version 3.20100427.
   * po: The po_slave_languages setting is now a list, so the order of
     translated languages can be controlled. (intrigeri)
+  * git: Fix gitweb historyurl examples so "diff to current" links work.
+    (Thanks jrayhawk)
 
  -- Joey Hess <joeyh@debian.org>  Fri, 23 Jul 2010 14:00:32 -0400