{"version":"2.1.232","anchor":"git-lookup-caches-are-now-per-host-rather-than-process-wide","canonical_anchor":"git-lookup-caches-are-now-per-host-rather-than-process-wide","heading":"Git lookup caches are now per host rather than process-wide","tier":"internal","area":"Git","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232\/e\/git-lookup-caches-are-now-per-host-rather-than-process-wide","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232","markdown":"### Git lookup caches are now per host rather than process-wide\n\nGit repo-root and remote lookups are cached per host, so clearing one leaves the other alone.\n\n**What**\n\nThe caches for repository root, canonical root, remote slug, git directory, repo markers and the resolved git executable moved into a class created lazily for each host object. Two hosts in one process no longer share them, and clearing one does not clear the other.\n\n**Evidence**\n\n`Symbol(\"git-repo-negative-result\")`\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}