I have two big trees, which I want to compare. Some of the files in the tree differ just because one has newline at the end, and the other file lacks this newline. I want to ignore this fact. I have tried calling diff like this:
diff --ignore-all-space -r <dir1> <dir2>
And this is working. My problem is that it also ignores other differences (space-related), which may be important.
In summary: I just want to ignore the newline at EOF. Is this possible with diff?