Re: Source formatting issues while maintaining code

Charles Miller <[email protected]> Sun, 23 Nov 2008 10:31:04 -0500
Newsgroups gmane.comp.programming.language-of-the-year
Message-ID <[email protected]>
On 23/11/2008, at 10:12 AM, Tushar Joshi wrote:

> Have any one implemented any creative method to solve this problem?

If it's important to you, you could just bite the bullet, run the  
entire source tree through an auto-formatter with the same settings as  
your IDE, then re-check it in. You'll make it a lot harder to get  
meaningful "blame" information, but at least the code will be  
consistently formatted from then on.

Alternatively, you could get a better diff program, preferably one  
that has a setting to ignore whitespace-only changes.

C