On Sun, May 11, 2008 at 5:05 PM, Daniel Stasinski <[EMAIL PROTECTED]> wrote:
>
> I did the commit on aolserver cvs only and the white space was unchanged.


Your editor changed it behind your back.  :-(

Vim?

Anyway, here's what the commit message looks like:



*** nsperm.c    8 Aug 2005 11:30:15 -0000       1.10
--- nsperm.c    10 May 2008 19:31:32 -0000      1.11
***************
*** 12,16 ****
  * The Original Code is AOLserver Code and related documentation
  * distributed by AOL.
!  *
  * The Initial Developer of the Original Code is America Online,
  * Inc. Portions created by AOL are Copyright (C) 1999 America Online,
--- 12,16 ----
  * The Original Code is AOLserver Code and related documentation
  * distributed by AOL.
!  *
  * The Initial Developer of the Original Code is America Online,
  * Inc. Portions created by AOL are Copyright (C) 1999 America Online,
***************
*** 28,32 ****
  */

! /*
  * nsperm --
  *
--- 28,32 ----
  */

! /*
  * nsperm --
  *
***************
*** 111,115 ****
 static Tcl_HashTable   serversTable;

!
 /*
  *----------------------------------------------------------------------
--- 111,115 ----
 static Tcl_HashTable   serversTable;

!
 /*
  *----------------------------------------------------------------------
***************



There's about 10 screens of this...



> I do notice that at least in the
> aolserver code, there is inconsistent use of tabs and spaces.  Some
> lines use spaces and others use tabs to indent.   Though it looks
> funky, I left them as they were.


Yeah, we like spaces not tabs, and we try to leave it as it is when
making small changes so that the commits are readable.

Before making a large change to a file that hasn't been cleaned up
it's often a good idea to make a separate commit with just the
whitespace changes -- then everyone can just ignore it.

So I guess that's something like:

:%retab

in Vim, and M-x untabify in emacs.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to