On Wednesday, May 7, 2014 6:36:40 AM UTC+2, RjOllos wrote: > > On Monday, May 5, 2014 7:01:09 AM UTC-7, Kim Rydhof Thor Hansen wrote: >> >> Hi Trac Users >> >> I don't understand why line 1333 is marked as having changes in >> http://trac.edgewall.org/changeset/12739/trunk/trac/ticket/web_ui.py<http://www.google.com/url?q=http%3A%2F%2Ftrac.edgewall.org%2Fchangeset%2F12739%2Ftrunk%2Ftrac%2Fticket%2Fweb_ui.py&sa=D&sntz=1&usg=AFQjCNEClccL6fzLzolDtK_qajhbJ0n_tQ>when >> "Ignore White space changes" is enabled, is that a bug? >> >> Regards >> Kim Hansen >> > > I suspect it is probably handled differently because it is part of a block > that includes non-whitespace changes. We could dig into the code to try and > determine if this was intentional or an oversight, but I'm not bothered too > much by the behavior for this particular case. It could be more troubling > for the case that a large block of code is indented and wrapped in a > conditional statement. There you really want to ignore whitespace so that > you can see that the only change is the addition of a single line. I'd be > interested to see if this same behavior is reproduced for that case. >
This particular case is just the first example of problem I could find on trac.edgewall.org, I noticed the problem when a changeset in my personal Trac installation was 100's of lines long when "git diff -w" only showed about 10 lines after I had reformatted some code. Kim -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
