diff options
author | Eric Wong <e@80x24.org> | 2019-01-18 06:09:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-19 03:34:54 +0000 |
commit | 77d9f14ee83324afc5961c0115480baa5ff5b475 (patch) | |
tree | f79ad9a4202ee3c860b27d0344071033fcfae8b2 /lib | |
parent | ca0a28d52d43609cd6cabf5af085260032e5afa9 (diff) | |
download | public-inbox-77d9f14ee83324afc5961c0115480baa5ff5b475.tar.gz |
Ambiguity is not worth it for internal usage with the solver.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/Git.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm index a61cb31b..b655921b 100644 --- a/lib/PublicInbox/Git.pm +++ b/lib/PublicInbox/Git.pm @@ -92,7 +92,8 @@ sub _bidi_pipe { fcntl($in_w, 1031, 4096) if $batch eq '--batch-check'; } - my @cmd = ('git', "--git-dir=$self->{git_dir}", qw(cat-file), $batch); + my @cmd = (qw(git), "--git-dir=$self->{git_dir}", + qw(-c core.abbrev=40 cat-file), $batch); my $redir = { 0 => fileno($out_r), 1 => fileno($in_w) }; if ($err) { open(my $fh, '+>', undef) or fail($self, "open.err failed: $!"); |