]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Feed.pm
use %H consistently to disable abbreviations
[public-inbox.git] / lib / PublicInbox / Feed.pm
index 5cb044bdc7c18daf69712ca004dca9b14401ab6e..b373a1ebc83dd99b7467456ce28eba03fb47b26a 100644 (file)
@@ -95,7 +95,7 @@ sub recent_msgs {
                die "BUG: unsupported inbox version: $v\n";
        }
        if (my $srch = $ibx->search) {
-               return PublicInbox::View::paginate_recent($ctx);
+               return PublicInbox::View::paginate_recent($ctx, $max);
        }
 
        my $hex = '[a-f0-9]';
@@ -116,7 +116,7 @@ sub recent_msgs {
        my $log = $ibx->git->popen(qw/log
                                --no-notes --no-color --raw -r
                                --no-abbrev --abbrev-commit/,
-                               "--format=%h", $range);
+                               "--format=%H", $range);
        my %deleted; # only an optimization at this point
        my $last;
        my $last_commit;