]> Sergey Matveev's repositories - public-inbox.git/commit
inbox: inline and eliminate git_cleanup
authorEric Wong <e@80x24.org>
Fri, 1 Oct 2021 09:54:42 +0000 (09:54 +0000)
committerEric Wong <e@80x24.org>
Fri, 1 Oct 2021 12:06:32 +0000 (12:06 +0000)
commit0fa6324e2f45a93dbfca57989ca115b13048133f
tree712099640ffaff194dd0b711562f7ecfbb5d33e0
parent1c52f49354aa83e71fcceccae888da0c77f2391d
inbox: inline and eliminate git_cleanup

It was probably incorrect to use from max_git_epoch, and it's
small enough to inline into do_cleanup.  We'll also eliminate
the unnecessary deletion of {-altid_map} while we're in the
area, since we no longer cache/memoize that.

Fixes: 7e5cea05f061e757 ("inbox: rewrite cleanup to be more aggressive")
lib/PublicInbox/Inbox.pm