Make the log work for commits and symbolic refs also.
[catagits/Gitalist.git] / lib / Gitalist / URIStructure / Ref.pm
index dae28c4..afea1ee 100644 (file)
@@ -5,6 +5,10 @@ use namespace::autoclean;
 
 requires 'base';
 
+with qw/
+    Gitalist::URIStructure::WithLog
+/;
+
 after 'base' => sub {
     my ($self, $c) = @_;
     confess("No repository in the stash")
@@ -45,8 +49,4 @@ sub blame : Chained('find') Does('FilenameArgs') Args() {}
 
 sub history : Chained('find') Does('FilenameArgs') Args() {}
 
-sub shortlog : Chained('find') Does('FilenameArgs') Args() {}
-
-sub longlog : Chained('find') Does('FilenameArgs') PathPart('log') Args() {}
-
 1;