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

Re: Feature Request: Add diff.word-diff <mode> and perhaps diff.word-diff-regex <regex> configuration options to enable always using word-diffs in git diff

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 14, 2018, 20:07 UTC
Message-ID
<87604tft6p.fsf@evledraar.gmail.com>
In-Reply-To
<20180414200227.b35bdkir6ygio5is@NUC.doronbehar.com>
On Sat, Apr 14 2018, Doron Behar wrote:
> I've just came across the wonderful command line option for `git diff`:
> `--word-diff`. It could be great to have a configuration option that
> will enable this feature by default when running `git diff`.
Do you know you can do:
    git config --global alias.wdiff "diff --word-diff"
?
Previous: Doron BeharNext: Junio C Hamano
Message 2 of 3 in “Feature Request: Add diff.word-diff <mode> and perhaps diff.word-diff-regex <regex> configuration options to enable always using word-diffs in git diff”
  1. Doron BeharApr 14, 2018
  2. Ævar Arnfjörð BjarmasonApr 14, 2018
  3. Junio C HamanoApr 15, 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.