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

how to ignore whitespace changes with --color-moved (git diff move detection)?

From
TCTimothee Cour <thelastmammoth@gmail.com>
Date
Feb 2, 2018, 02:13 UTC
Message-ID
<CANri+EwfsgS-s0TeeX0E6XoCnmCeq=CB0UDQ9=gjSXbe8C_5GQ@mail.gmail.com>

this PR from october 2017 was discussing a patch that'd introduce `--color-moved-[no-]ignore-space-change` https://public-inbox.org/git/20171025224620.27657-3-sbeller@google.com/

however not sure what happened since then as I can't find in `git help diff` options even after `brew install --HEAD git`

it's a really useful feature as it's a common use case (ppl move blocks and reformat in same PR)

If it's not merged in git repo yet is there an easy way to try out this feature? (even if experimental)

Next: Jeff King
Message 1 of 3 in “how to ignore whitespace changes with --color-moved (git diff move detection)?”
  1. Timothee CourFeb 2, 2018
  2. Jeff KingFeb 2, 2018
  3. Stefan BellerFeb 2, 2018

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.