How can I ignore eol changes and all white space in svn?

前端 未结 2 1262
太阳男子
太阳男子 2021-02-01 02:15

Combining svn diff --ignore-eol-style and --ignore-all-space is not working:

$ svn diff -x -w --ignore-eol-style -r 1143:1177 somefile
svn: invalid option: --ign         


        
2条回答
  •  长情又很酷
    2021-02-01 02:48

    The svn command seems to honour only one -x option. This means, you must/can combine all options into one argument:

        svn diff -x "-w --ignore-eol-style"
    

    I did not test whether this is also true for external diff-tools.

提交回复
热议问题