]> Sergey Matveev's repositories - public-inbox.git/commit
git: reduce early bare-bones memory use
authorEric Wong <e@80x24.org>
Mon, 26 Sep 2022 10:17:15 +0000 (10:17 +0000)
committerEric Wong <e@80x24.org>
Mon, 26 Sep 2022 19:22:04 +0000 (19:22 +0000)
commit9b8ebfddd479bfeda479d2842587269dc9a21752
treee926ac17f5bd5e62c07336b25bff1a01207d9ba9
parent4be57c1329b13dbeb8097dd49b5e43fbc9ec9754
git: reduce early bare-bones memory use

The {-git_path} cache can rely on auto-vivification, and
{alt_st} may not be needed for short-lived repos.  So don't
populate those fields until they're needed, since we can
expect to handle thousands of git repos, too.
lib/PublicInbox/Git.pm