How can I change the svn diff patch number of context lines?

前端 未结 2 2167
野趣味
野趣味 2021-02-19 09:33

What I\'m exactly looking for is: using svn diff, how to print more lines above and below the new code which is being added?

By default it will print some l

2条回答
  •  被撕碎了的回忆
    2021-02-19 10:28

    If you are on linux, tell your diff tool how many lines to include into result, for example 10:

    svn diff --diff-cmd=diff -x -U10
    

提交回复
热议问题