about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitSrc.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-03-04 02:15:29 +0000
committerEric Wong <e@80x24.org>2017-03-04 02:15:29 +0000
commitd78b17adabb1880857c67fda40be0c47fe9d1866 (patch)
treeb514ed019ef323e0cb09eaff130e512d5de89082 /lib/PublicInbox/RepoGitSrc.pm
parent10f315b0f25cc8141ddfd9c03c58db65ca5652b5 (diff)
downloadpublic-inbox-d78b17adabb1880857c67fda40be0c47fe9d1866.tar.gz
Ending up with potentially ambiguous identifiers in the
future is not worth saving some bytes, in this case.
Diffstat (limited to 'lib/PublicInbox/RepoGitSrc.pm')
-rw-r--r--lib/PublicInbox/RepoGitSrc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoGitSrc.pm b/lib/PublicInbox/RepoGitSrc.pm
index 186d261f..67de86ee 100644
--- a/lib/PublicInbox/RepoGitSrc.pm
+++ b/lib/PublicInbox/RepoGitSrc.pm
@@ -214,7 +214,7 @@ sub git_tree_sed ($) {
 sub git_tree_show {
         my ($self, $req, $res, $hex) = @_;
         my $git = $req->{-repo}->{git};
-        my $cmd = $git->cmd(qw(ls-tree -l -z), $git->abbrev, $hex);
+        my $cmd = $git->cmd(qw(ls-tree -l -z --no-abbrev), $hex);
         my $rdr = { 2 => $git->err_begin };
         my $qsp = PublicInbox::Qspawn->new($cmd, undef, $rdr);
         my $t = cur_path($req);