Hello Scott,
On Thu, Jul 14, 2016 at 6:29 PM, Scott Aron Bloom wrote:
>
> What is the best svn diff options to use to pipe into diffstat.
>
> Essentially, Im looking for the number of new lines, deleted lines and number
> of modified.
>
> My main problem is when a svn diff is performed on a directory copy, I don’t
> want those files counted as “added”
What about `--no-diff-added`[1] or `--notice-ancestry`[2] options?
Have you tried them? I guess that `svn diff`[3] has the options that
should help producing the required diff output, but I can't point to
the best ones for diffstat tool.
[1]:
http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.no_diff_added
[2]:
http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.notice_ancestry
[3]: http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.diff.html
--
With best regards,
Pavel Lyalyakin
VisualSVN Team