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

Re: [PATCH] tree-walk: preserve large entry path lengths

From
AAATTILIO ALESSIO <attilio.alessio@protonmail.com>
Date
Dec 2, 2026, 14:22 UTC
Message-ID
<Q-urIZQQgIvbCLu3ZWFOk20uh67LAsue07CoL93BZ-0uiy4jTYjzcpbe1tNZGbnq4NI9mgeGN9tdKRfBjjQLv3eKd6RJMvsDlg_ClyaXy04=@protonmail.com>
In-Reply-To
<CAL71e4ORmUdsfd3doLGhykhHe=rqfzaYNpwkVinfBxuzUVsDdg@mail.gmail.com>
Hi, Kristofer!
I agree this is the better approach. 
I’ve updated the patch to parse max_tree_entry_len as a size_t, fix the narrowing in builtin/grep.c, expand the commit message with the 53d5cfc3b8 context, and document that names longer than 4096 bytes are not portable.
I’ll reroll the series shortly. 
Please drop your patch in favor of this one.

Best, Alessio

Previous: Kristofer KarlssonNext: Alessio Attilio via GitGitGadget
Message 3 of 5 in “tree-walk: preserve large entry path lengths”
  1. tree-walk: preserve large entry path lengthsAlessio Attilio via GitGitGadget, Dec 1, 2026
  2. Kristofer KarlssonDec 2, 2026
  3. ATTILIO ALESSIODec 2, 2026
  4. tree-walk: preserve large entry path lengthsAlessio Attilio via GitGitGadget, Dec 2, 2026
  5. Kristofer KarlssonDec 2, 2026

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.