]> Sergey Matveev's repositories - public-inbox.git/commitdiff
inbox: git_epoch: correct false comment
authorEric Wong <e@80x24.org>
Wed, 23 Dec 2020 08:38:46 +0000 (08:38 +0000)
committerEric Wong <e@80x24.org>
Wed, 23 Dec 2020 23:46:38 +0000 (23:46 +0000)
The original comment hasn't been true since
PublicInbox::Git->modified was changed to use cat_async blob
responses.  In any case, manifest.js.gz generation already
cleans up per-epoch git processes used for ->modified.

lib/PublicInbox/Inbox.pm

index 863a5de442187ca7d7e946e3076b4d4e936e5b8a..ec8469e3e1cfd2a95a9fe4ef3e801181f314b81f 100644 (file)
@@ -132,7 +132,7 @@ sub git_epoch {
                return unless -d $git_dir;
                my $g = PublicInbox::Git->new($git_dir);
                $g->{-httpbackend_limiter} = $self->{-httpbackend_limiter};
-               # no cleanup needed, we never cat-file off this, only clone
+               # caller must manually cleanup when done
                $g;
        };
 }