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

FORMAT_PATCH_NAME_MAX increase

From
LELaszlo Ersek <lersek@redhat.com>
Date
May 29, 2017, 08:49 UTC
Message-ID
<99ac8ee7-67b5-5ae7-51cf-6be38de6217f@redhat.com>
Hi,
would it be possible to
- increase the FORMAT_PATCH_NAME_MAX macro from 64 to, say, 128?
- Or else to introduce a new git-config knob for it?

I have a small review-helper / interdiff script that matches patches from adjacent versions of a series against each other, based on subject line. (Using the formatted file name with the patch number stripped.) The project in question uses long common prefixes in subjects, and the current limit of 64 does not always ensure unicity (again, with the number stripped).

Thank you, Laszlo

Next: Junio C Hamano
Message 1 of 11 in “FORMAT_PATCH_NAME_MAX increase”
  1. Laszlo ErsekMay 29, 2017
  2. Junio C HamanoMay 30, 2017
  3. Laszlo ErsekMay 30, 2017
  4. Junio C HamanoMay 30, 2017
  5. Ævar Arnfjörð BjarmasonMay 30, 2017
  6. Laszlo ErsekMay 30, 2017
  7. Laszlo ErsekMay 30, 2017
  8. Ævar Arnfjörð BjarmasonMay 30, 2017
  9. Junio C HamanoMay 30, 2017
  10. Ævar Arnfjörð BjarmasonMay 30, 2017
  11. Laszlo ErsekMay 30, 2017

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.