]> Sergey Matveev's repositories - public-inbox.git/commit
manifest.js.gz: avoid long-lived per-epoch cat-file processes
authorEric Wong <e@80x24.org>
Sat, 11 Sep 2021 23:30:45 +0000 (23:30 +0000)
committerEric Wong <e@80x24.org>
Sun, 12 Sep 2021 02:09:43 +0000 (02:09 +0000)
commit610d89af015337ac0ba09dedeb71d1ff1d2326ea
tree4be7ec334765ebfc14183a6c88c0ab92982b183c
parentaa500f0243133f2e9e0c912eea3497e52ebc1903
manifest.js.gz: avoid long-lived per-epoch cat-file processes

When generating per-inbox manifests, we were forgetting to
cleanup per-epoch "git cat-file --batch" processes.  Our
previous method of generating modified times was also stupidly
inefficient, so replace the pipeline with a single
"git for-each-ref" invocation.
lib/PublicInbox/Git.pm
lib/PublicInbox/ManifestJsGz.pm