]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/git.pm
git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks jrayhawk)
[ikiwiki.git] / IkiWiki / Plugin / git.pm
index cb3437e1861a5a7b7786fabc6011e5c8772346e7..899ac4a85f32421f3a6554e726562eb293e8499c 100644 (file)
@@ -109,7 +109,7 @@ sub getsetup () {
                },
                historyurl => {
                        type => "string",
                },
                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,
                        description => "gitweb url to show file history ([[file]] substituted)",
                        safe => 1,
                        rebuild => 1,