about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitPlain.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepobrowseGitPlain.pm')
-rw-r--r--lib/PublicInbox/RepobrowseGitPlain.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepobrowseGitPlain.pm b/lib/PublicInbox/RepobrowseGitPlain.pm
index 89788a10..01919895 100644
--- a/lib/PublicInbox/RepobrowseGitPlain.pm
+++ b/lib/PublicInbox/RepobrowseGitPlain.pm
@@ -57,7 +57,7 @@ sub git_tree_plain {
                         $pfx = "$last/";
                 }
         }
-        my $ls = $git->popen(qw(ls-tree --name-only -z --abbrev=12), $hex);
+        my $ls = $git->popen(qw(ls-tree --name-only -z), $git->abbrev, $hex);
         sub {
                 my ($res) = @_;
                 my $fh = $res->([ 200, ['Content-Type' => 'text/html']]);