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

WISH: set word-diff-regex for/in gitk

From
AVAnna Vernerova <vernerova@ufal.mff.cuni.cz>
Date
Nov 20, 2018, 11:33 UTC
Message-ID
<1124582873.368304.1542713615728.JavaMail.zimbra@ufal.mff.cuni.cz>
Dear developers,

I am a daily use of gitk; I use the "color words" diff option most often. I have found no way to set --word-diff-regex for gitk, or to make the command

git config --global diff.wordRegex '.'
have effect on the diffs shown in gitk.

I think the value of --word-diff-regex is effectively discarded in the block at line 215 of gitk-git/gitk, but it seems that other changes are necessary for the parameter to take any effect.

Being able to configure word-diff-regex would be much appreciated!
Anša
Message 1 of 1 in “WISH: set word-diff-regex for/in gitk”
  1. Anna VernerovaNov 20, 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.