[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Blank lines

From: Stefan Hett <stefan_at_egosoft.com>
Date: Wed, 4 May 2016 14:47:29 +0200

Hi Darek,
> How can I force
> svn status
> not to indicate files with added/removed blank lines as modified?
>
> I'm fighting with this all day today and I cannot find any help.
> I've already changed diff-cmd and diff3-cmd to ignore blank lines, but
> I still see these files as modified which gives me a jungle of changes
> that I don't want to see.
As far as I know that's not directly possible with the command line
client. You could however write a script/batch file to compile the
results you expect.
One reference which might help to get started:
http://stackoverflow.com/questions/19307464/svn-list-of-changed-files-ignoring-whitespaces
That contains a script which uses svn status and svn diff -- it does
things slightly different from what your needs would require, but it
should still be a useful starting point.

-- 
Regards,
Stefan Hett
Received on 2016-05-04 14:47:43 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.