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

前端 未结 2 2166
野趣味
野趣味 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:26

    You can do this within svn diff itself, which works on Windows too. Say you want 20 lines of context, you can do this:

    svn diff -x -U20

    Taken from svn diff how to only show changed line

提交回复
热议问题