diff options
author | Eric Wong <e@80x24.org> | 2019-05-27 18:45:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-27 18:48:04 +0000 |
commit | f7636f7f2343d6ac134b35b447e57fa2a38feba1 (patch) | |
tree | 142c7b557d03c0ceacbf0ebf181b449a9c832f7b /lib/PublicInbox/SearchIdx.pm | |
parent | 8e08a9ab966eb9c3281c861d0669a2db04442561 (diff) | |
download | public-inbox-f7636f7f2343d6ac134b35b447e57fa2a38feba1.tar.gz |
We can't pass an empty string to `git merge-base --is-ancestor' AFAIK, this did NOT present issues in the current test suite.
Diffstat (limited to 'lib/PublicInbox/SearchIdx.pm')
-rw-r--r-- | lib/PublicInbox/SearchIdx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index 9c291066..b963805e 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -694,7 +694,7 @@ sub _last_x_commit { $lx = $lm; } # Use last_commit from msgmap if it is older or unset - if (!$lm || ($lx && $lx && is_ancestor($self->{git}, $lm, $lx))) { + if (!$lm || ($lx && $lm && is_ancestor($self->{git}, $lm, $lx))) { $lx = $lm; } $lx; |