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

Re: What's cooking in git.git (May 2017, #03; Wed, 10)

From
Marc Branchaud <marcnarc@xiplink.com>
Date
May 11, 2017, 21:31 UTC
Message-ID
<ac2f1563-735e-9a07-e762-5dda0630304e@xiplink.com>
In-Reply-To
<xmqqinl9xpb8.fsf@gitster.mtv.corp.google.com>
On 2017-05-10 01:18 AM, Junio C Hamano wrote:
Show 9 quoted lines
>
> * mb/diff-default-to-indent-heuristics (2017-05-09) 4 commits
>  - add--interactive: drop diff.indentHeuristic handling
>  - diff: enable indent heuristic by default
>  - diff: have the diff-* builtins configure diff before initializing revisions
>  - diff: make the indent heuristic part of diff's basic configuration
>
>  Make the "indent" heuristics the default in "diff" and diff.indentHeuristics
>  configuration variable an escape hatch for those who do no want it.
Typo fixes:
	s/heuristics/heuristic/  (both places)
	s/do no want/do not want/
>  Kicked out of next; it seems it is still getting review suggestions?
I believe v4 of this one is ready to cook.

The most salient aspect of the review discussion was about where to go after this topic is applied. We also concluded that the topic deserves a release note about breaking patch ID backwards-compatibility. I think such a note should mention rerere, so I would suggest the following:

The diff "indent" heuristic is now enabled by default. This changes the patch IDs calculated by git-patch-id (and used by git-rerere and git-cherry), which could affect workflows that rely on previously-computed patch IDs. The heuristic can be disabled by setting diff.indentHeuristic to false.

		M.
Previous: Lars SchneiderNext: Jeff King
Message 12 of 14 in “What's cooking in git.git (May 2017, #03; Wed, 10)”
  1. Junio C HamanoMay 10, 2017
  2. Ævar Arnfjörð BjarmasonMay 10, 2017
  3. Jean-Noël AVILAMay 10, 2017
  4. Junio C HamanoMay 11, 2017
  5. Junio C HamanoMay 11, 2017
  6. Ævar Arnfjörð BjarmasonMay 10, 2017
  7. Junio C HamanoMay 11, 2017
  8. Johannes SchindelinMay 11, 2017
  9. Junio C HamanoMay 12, 2017
  10. Johannes SchindelinMay 11, 2017
  11. Lars SchneiderMay 11, 2017
  12. Marc BranchaudMay 11, 2017
  13. Jeff KingMay 11, 2017
  14. Junio C HamanoMay 12, 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.