From: Derrick Stolee Date: Tue, 08 Oct 2024 18:36:26 GMT Subject: ds/pack-name-hash-tweak (was Re: What's cooking in git.git (Oct 2024, #04; Sun, 6)) Message-ID: In-Reply-To: On 10/7/24 11:53 AM, Junio C Hamano wrote: > * ds/pack-name-hash-tweak (2024-10-04) 6 commits > - test-tool: add helper for name-hash values > - p5313: add size comparison test > - git-repack: update usage to match docs > - pack-objects: add GIT_TEST_FULL_NAME_HASH > - repack: test --full-name-hash option > - pack-objects: add --full-name-hash option > > In a repository with too many (more than --window size) similarly > named files, "git repack" would not find good delta-base candidate > and worse, it may not use a blob from exactly the same path as a > good delta-base candidate. Optionally replace the name hash so > that only blobs at the same path and nothing else are used as > delta-base candidate. > > On hold. > cf. <34346998-deac-4e1f-9d5f-218f664e9e08@gmail.com> > source: This topic has been on hold waiting for greater interest in this approach. It was the first topic carved out of the path-walk API RFC due to how simple the change was, but the 'git pack-objects --path-walk' feature is a higher priority for helping Git clients and is now available for review [1]. Junio: please pull ds/pack-name-hash-tweak out of 'seen'. [1] https://lore.kernel.org/git/pull.1813.git.1728396723.gitgitgadget@gmail.com Thanks, -Stolee