From: Tomas Doran Date: Sun, 24 Jan 2010 14:52:05 +0000 (+0000) Subject: Add log action for commits X-Git-Tag: 0.000006_01~1^2~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce8349185a17b52deceeab7e658eda44f7e62e7a;p=catagits%2FGitalist.git Add log action for commits --- diff --git a/lib/Gitalist/URIStructure/Commit.pm b/lib/Gitalist/URIStructure/Commit.pm index 302df90..bf2d5ea 100644 --- a/lib/Gitalist/URIStructure/Commit.pm +++ b/lib/Gitalist/URIStructure/Commit.pm @@ -47,4 +47,6 @@ sub history : Chained('find') Does('FilenameArgs') Args() {} sub shortlog : Chained('find') Does('FilenameArgs') Args() {} +sub longlog : Chained('find') Does('FilenameArgs') PathPart('log') Args() {} + 1; diff --git a/root/fragment/repository/heads.tt2 b/root/fragment/repository/heads.tt2 index 446e8d8..a2ca50e 100644 --- a/root/fragment/repository/heads.tt2 +++ b/root/fragment/repository/heads.tt2 @@ -21,8 +21,8 @@ [% time_since(head.last_change) %] [% head.name %] [%# FIXME %] - shortlog - log + shortlog + log tree