From: Eric Wong Date: Wed, 23 Dec 2020 08:38:46 +0000 (+0000) Subject: inbox: git_epoch: correct false comment X-Git-Tag: v1.7.0~1511 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fbc71f023f2356b2e88a8cfeb738a945085ac9a2;p=thirdparty%2Fpublic-inbox.git inbox: git_epoch: correct false comment 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. --- diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index 863a5de44..ec8469e3e 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -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; }; }