git diff shows unicode symbols in angle brackets

后端 未结 5 1428
情话喂你
情话喂你 2020-12-14 02:39

I have a file with unicode symbols (russian text). When I fix some typo I use git diff --color-words=. to see the changes I\'ve done.

In case of unicode

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 03:07

    The solution for me was to use git difftool.

    I wrote this tool https://github.com/chestozo/dmp based on https://code.google.com/p/google-diff-match-patch/.

    Sometimes it also gives better diff comparing to git diff --color-words=. :)

提交回复
热议问题