about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitAtom.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/RepoGitAtom.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/RepoGitAtom.pm')
-rw-r--r--lib/PublicInbox/RepoGitAtom.pm3
1 files changed, 1 insertions, 2 deletions
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 '';