Re: [Squid-cvs] Padding with white spaces...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 20 May 2005 17:50:06 +0200 (CEST)

On Fri, 20 May 2005, Rafael Martinez Torres wrote:

> Hey... I wrote:
>
>> storeAppendPrintf(sentry, "IP ADDRESS # QUERIES # REPLIES\n");
>
> But some option on diff-cvs (ignore blanck spaces...) did ignored it ...
>
> It's just a banner, but...

The sqiud-cvs mails intentionally ignores whitespace changes to make it
easier to see code changes when things are restructured affecting
indentation of code.

Example:

   from

      A = B;

   to

      if (condition) {
          A = B;
      }

which will be reported as

+ if (condition) {
          A = B;
+ }

As side effect the diffs in the emails also does not show whitespace
changes within strings...

Regards
Henrik
Received on Fri May 20 2005 - 09:50:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 31 2005 - 12:00:03 MDT