]> Sergey Matveev's repositories - public-inbox.git/commitdiff
idxstack: fix comment about file_char
authorEric Wong <e@80x24.org>
Tue, 22 Sep 2020 18:49:49 +0000 (18:49 +0000)
committerEric Wong <e@80x24.org>
Sat, 26 Dec 2020 19:31:02 +0000 (19:31 +0000)
It's `d' for deletes, not `a'.

(cherry picked from commit 9dd93e4399c67abf74df6832181d442f81e0aa33)

lib/PublicInbox/IdxStack.pm

index b43b8064e5e2717e41d229193a83db117ab27e6a..ce75b46afe99604ec2542bb01634a1f7628c2ea8 100644 (file)
@@ -14,7 +14,7 @@ sub new {
        bless { wr => $io, latest_cmt => $_[1] }, __PACKAGE__
 }
 
-# file_char = [a|m]
+# file_char = [d|m]
 sub push_rec {
        my ($self, $file_char, $at, $ct, $blob_oid) = @_;
        my $rec = pack(FMT, $file_char, $at, $ct, $blob_oid);