public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wayne Scott <wscott@bitmover.com>
To: linux-kernel@vger.kernel.org
Cc: jmd@turbogeek.org
Subject: Re: Extraneous whitespace removal?
Date: Thu, 29 Nov 2001 09:40:40 -0500 (EST)	[thread overview]
Message-ID: <20011129.094040.124092017.wscott@bitmover.com> (raw)

From: Jeremy M. Dolan <jmd@turbogeek.org>
> Pluses:
>  - clean up messy whitespace
>  - cut precious picoseconds off compile time
>  - cut kernel tree by 200k (+/- alot)
>
> Minuses:
>  - adds 3.8M bzip2 or 4.7M gzip to next diff

As someone who has spend a lot of time working on version control and
file merging, let be tell you the big minus you missed. 

After this patch go into the Linux kernel, everyone who is maintaining
a set of patches in parallel with the main kernel has a lot of extra
work resolving the conflicts caused by this change.  You have touched
a huge number of lines and people will have to walk a list of merge
conflicts everywhere they have made local changes and pick their side.
And anytime people do a whole series of the same edits over and over
they will miss that real conflict in the middle and lose some
important change.

The other problem that occurs is for people who maintain version
histories.  It is really useful to know where (and why) a line was
last changed.  This obscures that information by a layer of edits that
made no change.

While saving a little space is nice, it is not worth the pain and risk
it involves.  I much prefer the solution suggested where incoming
patches are filtered before they are applied. Used consistantly, the
whitespace will be removed over time.

-Wayne

             reply	other threads:[~2001-11-29 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-29 14:40 Wayne Scott [this message]
2001-11-29 16:02 ` Extraneous whitespace removal? Padraig Brady
2001-11-30 13:16 ` M. R. Brown
  -- strict thread matches above, loose matches on Subject: below --
2001-01-08 10:42 Jeremy M. Dolan
2001-01-08 11:29 ` David Weinehall
2001-01-08 11:50 ` Thomas Pornin
2001-01-09  0:24 ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011129.094040.124092017.wscott@bitmover.com \
    --to=wscott@bitmover.com \
    --cc=jmd@turbogeek.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox