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/RepoGitAtom.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/PublicInbox/RepoGitAtom.pm') diff --git a/lib/PublicInbox/RepoGitAtom.pm b/lib/PublicInbox/RepoGitAtom.pm index c2393b38..4b074fcc 100644 --- a/lib/PublicInbox/RepoGitAtom.pm +++ b/lib/PublicInbox/RepoGitAtom.pm @@ -142,8 +142,7 @@ sub call_git_atom { my $env = $req->{env}; my $tip = $req->{tip} || $repo->tip; my $read_log = sub { - my $cmd = $git->cmd(qw(log --no-notes --no-color - --abbrev-commit), $git->abbrev, + my $cmd = $git->cmd(qw(log --no-notes --no-color --no-abbrev), $ATOM_FMT, "-$max", $tip, '--'); my $expath = $req->{expath}; push @$cmd, $expath if $expath ne ''; -- cgit v1.2.3-24-ge0c7