Also use comma as a word separator in diff

后端 未结 3 1311
生来不讨喜
生来不讨喜 2021-02-02 08:08

How can I add , as a word separator for git diff --word-diff?

For instance I would like the diff to recognize that

function(A,B,C) -> fun         


        
3条回答
  •  感动是毒
    2021-02-02 09:01

    You can also try -w/--ignore-all-space, although that may ignore more whitespace than you like.

提交回复
热议问题