[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: normalizing files and old revisions

From: Mike Castle
Subject: Re: normalizing files and old revisions
Date: Tue, 02 Sep 2003 11:28:09 -0700

Sorry if this is a duplicate.  My sendmail update didn't go as smooth as
I'd thought.  :-/

In article <address@hidden>,
Andreas Klauer  <address@hidden> wrote:
>The repository already contains files which use tabs, CRLF, et cetera. 
>Corresponding diffs to old revisions already contain loads of unnecessary 
>whitespace changes. I'd like to get rid of these diffs, to make comparisons 
>between never revisions (which use filter) and older revisions (which didn't 
>have the filter) possible without getting all this whitespace changes junk.

address@hidden:25am]~(501) cvs diff --help
  -w  --ignore-all-space  Ignore all white space.
  -b  --ignore-space-change  Ignore changes in the amount of white space.
  -B  --ignore-blank-lines  Ignore changes whose lines are all blank.

I suspect those options should provide you with enough control to avoid the
necessity of those changes.

As an SCM person, I look upon a change such as this with agast.  It's
equivalent to outdating a version of a file that has a bug in it.  You
simply don't do that!

     Mike Castle      address@hidden
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]