Page 1 of 1

Directory diff gives false positives

Posted: Fri Apr 11, 2008 8:10 pm
by Adam Schweitzer
I am having a problem where the directory diff tool identifies that there is a difference, which doesn't show up when I do a file diff on that file.
(ie. select "perform files differencing" on a file that has a not equal sign in the directory diff list.. the file diff does not identify any changes).

I suspect this is because the directory diff tool is not respecting the preferences (in particular, ignore whitespaces) when doing it's comparison?

Re: Directory diff gives false positives

Posted: Mon Apr 14, 2008 11:46 am
by sorin_ristache
Hello,

If the directory diff is based on the file content the directory diff tool does only a binary comparison of the two files. The file diff preferences are applied only when you double click on a pair of files reported as not equal by the directory diff tool. If the comparison is based on the file timestamp the tool compares only the timestamps of the two files. You can set the type of comparison from Options -> Preferences -> Diff -- Directory Comparison.


Regards,
Sorin