git/list[1] front-page[2] threads[3] people[4] search[5] about
 

ds/pack-name-hash-tweak (was Re: What's cooking in git.git (Oct 2024, #04; Sun, 6))

From
Derrick Stolee <stolee@gmail.com>
Date
Oct 8, 2024, 18:36 UTC
Message-ID
<f89ba1ef-4cd4-4963-8de0-0323216246aa@gmail.com>
In-Reply-To
<xmqq4j5naozf.fsf@gitster.g>
On 10/7/24 11:53 AM, Junio C Hamano wrote:
Show 18 quoted lines
> * 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: <pull.1785.v2.git.1726692381.gitgitgadget@gmail.com>

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

Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “What's cooking in git.git (Oct 2024, #04; Sun, 6)”
  1. Junio C HamanoOct 7, 2024
  2. ds/pack-name-hash-tweak (was Re: What's cooking in git.git (Oct 2024, #04; Sun, 6))Derrick Stolee, Oct 8, 2024
  3. Junio C HamanoOct 8, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.