views:

60

answers:

5

I have a project composed of 100s of files. One version contains a bug that the other does not. Is there some tool I can use to compare everything at once? I was thinking I could examine each difference to see if it's causing the problem. (There wouldn't be too many differences, it's just a matter of finding them.)

A: 

Some sort of diff utility. On Linux or Cygwin, a simple diff -r /path1 /path2 will give you all of the differences between two trees. You may also be able to find graphical diff programs for your platform of choice.

Adam Batkin
A: 

diff can easily compare two trees, and present you all changes in a sequential manner.

Martin v. Löwis
+3  A: 

If you're on Windows, Winmerge is awesome++, it can diff entire trees of folders and show you exactly the differences.

Juliet
A: 

BeyondCompare is great!

A: 

You can try Compare++. The diff tool can automatically compare all files in two folders. And it can compare subsections of files, for example two similar functions, classes,etc. These features will help you find the bug location very fast.

BTW, Compare++ can run on Vista, Win7.