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

Re: Bug in diff

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-19 19:30:58 CET

Tom wrote:
> Sometimes, diff does not mark the different characters in different
> lines. An example of two files is enclosed to this message.
>
> While "diff" highlights line 1 as "different", it does not highlight the
> different characters as it has been done correctly on line 4.
>
> Tested with TortoiseSVN 1.4.1, Build 7992 - 32 Bit, 2006/11/11 09:34:39

That's not a bug but by design. If there are too many diff chunks, then
the lines are considered completely different and inline diffs are not
shown. It would look really ugly if there are (worst case) every other
char marked as different in the inline diff.

The first line in your test files just has too many diff chunks.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Dec 19 19:31:08 2006

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

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