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

Re: FEATURE REQUEST: Unified Diff -->request switches for exclusion of white space from diff

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 07 May 2011 09:30:46 +0200

On 05.05.2011 22:48, Peter Willis wrote:
> Hello,
>
> QUESTION/REQUEST:
>
> Is there any way the unified diff could add some switches to adjust the
> diff output?
>
> DETAILS:
>
> The switches I am most interested in are:
>
> --ignore-case
> --ignore-file-name-case
> --ignore-space-change
> --strip-trailing-cr
> --text
> --ignore-blank-lines
>
> These switches are from GNU diff. 'man diff' for explanations
> of the switches. I really don't know what diff tool you are using
> in your code base.
>
> REASONS:
>
> Allowing these to be switched on and off (check boxes?) while
> diffing files and directories would be exceptionally useful
> where code has just been indented but not changed.
>
> Also if additional blank lines have been added to files,
> in some cases this does not affect the function of the code.
>
>
> NOTES:
>
> Selectable switches would be good. Perhaps GUI check boxes
> on the unified diff window, or simply add selectable diff
> options to the global settings for diff under TortoiseSVN->Settings.

There are multiple ways to get a unified diff from TSVN. For example the
"create patch" command, the "show unified diff" in various dialogs, ...

So where would you want that feature?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2732293
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-05-07 09:30:57 CEST

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

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