From: Tomas Doran Date: Sun, 17 Jan 2010 22:31:42 +0000 (+0000) Subject: Fixup links in shortlog to to the new locations. X-Git-Tag: 0.000006_01~1^2~96 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=56ad40a36b5d40c3a2a008dfa5ff4b27de5fb400;p=catagits%2FGitalist.git Fixup links in shortlog to to the new locations. There are currently no templates or code to render them, but the URIs generate correctly. --- diff --git a/lib/Gitalist/URIStructure/Commit.pm b/lib/Gitalist/URIStructure/Commit.pm index 91d1405..d5d0e1b 100644 --- a/lib/Gitalist/URIStructure/Commit.pm +++ b/lib/Gitalist/URIStructure/Commit.pm @@ -21,6 +21,6 @@ sub diff : Chained('find') Args(0) {} sub tree : Chained('find') Args(0) {} -sub commit : Chained('find') Args(0) {} +sub commit : Chained('find') PathPart('') Args(0) {} 1; diff --git a/root/fragment/repository/shortlog.tt2 b/root/fragment/repository/shortlog.tt2 index c31bb45..3a0e5d7 100644 --- a/root/fragment/repository/shortlog.tt2 +++ b/root/fragment/repository/shortlog.tt2 @@ -30,12 +30,13 @@ [% line.author.name | html %] [% short_cmt(line.comment) | html %] - [% INCLUDE '_refs.tt2' object = line %] + [%# FIXME What did this crap used to do? Did it work ever? %] + [%# INCLUDE '_refs.tt2' object = line %] - commit - commitdiff - tree + commit + commitdiff + tree [% END %]