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

Overriding creation factor in format-patch, was Re: [PATCH v2 0/3] mingw: include the Python parts in the build

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 10, 2022, 09:33 UTC
Message-ID
<344r92pq-s57p-1239-sp05-955s759r54r7@tzk.qr>
In-Reply-To
<xmqqsfmj7t5o.fsf@gitster.g>
Hi Junio,
On Fri, 29 Jul 2022, Junio C Hamano wrote:
> Perhaps the default used for "format-patch" should become different
> and set a lot higher than the default for "range-diff" proper?
Good idea.
However, this will require careful research about the best value to use.

An idea would be to use the lore archive to extract patch series iterations that have been sent to the Git mailing list, then use a variation of https://github.com/dscho/git/tree/range-diff-from-mbox to compare them using `range-diff` with multiple creation factors to determine the bounds within which the optimal value lies.

Sadly a bit too involved a project for me to take on right now.

Ciao, Dscho

Previous: Junio C Hamano
Message 12 of 12 in “mingw: include the Python parts in the build”
  1. mingw: include the Python parts in the buildJohannes Schindelin via GitGitGadget, Jul 28, 2022
  2. Junio C HamanoJul 28, 2022
  3. Johannes SchindelinJul 29, 2022
  4. Johannes SixtJul 29, 2022
  5. Johannes SchindelinAug 10, 2022
  6. 0/3 mingw: include the Python parts in the buildJohannes Schindelin via GitGitGadget, Jul 29, 2022
  7. 1/3 windows: include the Python bits when building Git for WindowsJohannes Schindelin via GitGitGadget, Jul 29, 2022
  8. 2/3 mingw: remove unneeded `NO_GETTEXT` directiveJohannes Schindelin via GitGitGadget, Jul 29, 2022
  9. 3/3 mingw: remove unneeded `NO_CURL` directiveJohannes Schindelin via GitGitGadget, Jul 29, 2022
  10. Johannes SchindelinJul 29, 2022
  11. Junio C HamanoJul 29, 2022
  12. Overriding creation factor in format-patch, was Re: [PATCH v2 0/3] mingw: include the Python parts in the buildJohannes Schindelin, Aug 10, 2022

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.