Its not just the line endings.
Take a look at the tabs/indents. Its all hosed up as well.
Some of the modules are really tough to read.
There are different tab widths, indention widths, and some folks use spaces with no tabs at all.
(I've struggled/fought with this issue on projects many times over the past 20+ years)
I think much of this caused by most people assuming or wanting to force shift/indention widths to be equal to their tab width.
Over the years I see so many people change their tab settings in order to change the look of their indentations.
This is a horrible practice.
The proper way is to set the indention/shift width separately from the tab width.
Decent editors will allow this.
Some folks think that they avoid the problem by not using tabs. But in fact they ruin the formating
as well because they align what they see on the screen to the tabs indention width set up in their editor.
If their tabwidth was set differently from the one assumed by the file, their new text will not line up
with the existing text that used hard tabs.
To me, hard tabs are 8. Period! Indents can be anything you want.
Even though I abhor the practice of changing the tab width to something
other than 8, at a minimum I'd like to see the tab width locked down to 1 value
or at least use the vi modelines to set the tab widths automatically.
Those that checkin files with screwy misaligned indents, should be spanked 3 times with a wet noodle.
Just my 0.02
--- bill