Re: What's cooking in git.git (Jan 2025, #05; Fri, 17)
From: Taylor Blau <hidden>
Date: 2025-01-22 18:30:04
On Tue, Jan 21, 2025 at 12:30:08PM -0800, Junio C Hamano wrote:
Derrick Stolee [off-list ref] writes:quoted
On 1/17/25 7:42 PM, Junio C Hamano wrote:quoted
* ds/name-hash-tweaks (2024-12-20) 8 commits - pack-objects: add third name hash version - pack-objects: prevent name hash version change - test-tool: add helper for name-hash values - p5313: add size comparison test - pack-objects: add GIT_TEST_NAME_HASH_VERSION - repack: add --name-hash-version option - pack-objects: add --name-hash-version option - pack-objects: create new name-hash function version "git pack-objects" and its wrapper "git repack" learned an option to use an alternative path-hash function to improve delta-base selection to produce a packfile with deeper history than window size. Comments? source: [ref]I'll poke the thread, too, but this seems to be the most promising topic in the area of better delta compression. The latest version does not have any comments. The only decision point I think remains is whether or not to include the last patch (--name-hash-version=3) which I would be happy either way.I am happy with the updated function that gives us better of both worlds, without losing too much from the "renamed from other directory" while making sure we do not lose too many bits in deeper trees.
I had a couple of thoughts that I meant to share before the holiday break, and haven't quite had a chance to get to it now that I'm back at my desk. Let me try and find some time to respond to the latest round of this series, and apologies for holding it up in the meantime. Thanks, Taylor