From d78b17adabb1880857c67fda40be0c47fe9d1866 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 4 Mar 2017 02:15:29 +0000 Subject: repobrowse: stop abbreviating object names Ending up with potentially ambiguous identifiers in the future is not worth saving some bytes, in this case. --- lib/PublicInbox/RepoGitSrc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/RepoGitSrc.pm') 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); -- cgit v1.2.3-24-ge0c7