X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FSearchIdx.pm;h=257b83a5681693e9c03596a2698343706186fcdb;hb=refs%2Fheads%2Fmaster;hp=cbfe7816044535c398b3dbe3acb7907ebe19a447;hpb=8fda04081acde7053458023fde3b1c784cbcfc81;p=public-inbox.git diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index cbfe7816..257b83a5 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -263,10 +263,10 @@ sub index_diff ($$$) { while (defined($_ = shift @l)) { if ($in_diff && /^GIT binary patch/) { push @$xnq, $_; - while (@l && $l[0] =~ /^literal /) { + while (@l && $l[0] =~ /^(?:literal|delta) /) { # TODO allow searching by size range? # allows searching by exact size via: - # "literal $SIZE" + # "literal $SIZE" or "delta $SIZE" push @$xnq, shift(@l); # skip base85 and empty lines @@ -453,7 +453,7 @@ sub eml2doc ($$$;$) { index_ids($self, $doc, $eml, $mids); # by default, we maintain compatibility with v1.5.0 and earlier - # by writing to docdata.glass, users who never exect to downgrade can + # by writing to docdata.glass, users who never expect to downgrade can # use --skip-docdata if (!$self->{-skip_docdata}) { # WWW doesn't need {to} or {cc}, only NNTP