From owner-freebsd-chat Thu Jan 20 13:50:28 2000 Delivered-To: freebsd-chat@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id C5F3F1539F for ; Thu, 20 Jan 2000 13:50:13 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.9.3/8.9.3) id OAA10554; Thu, 20 Jan 2000 14:45:37 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpdAAAv7aaEu; Thu Jan 20 14:45:27 2000 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id OAA18381; Thu, 20 Jan 2000 14:49:52 -0700 (MST) From: Terry Lambert Message-Id: <200001202149.OAA18381@usr01.primenet.com> Subject: Re: The 3.4-STABLE sources contain 152225 trailing whitespaces :-) To: roberto@keltia.freenix.fr (Ollivier Robert) Date: Thu, 20 Jan 2000 21:49:52 +0000 (GMT) Cc: freebsd-chat@FreeBSD.ORG In-Reply-To: <20000119013131.A12781@keltia.freenix.fr> from "Ollivier Robert" at Jan 19, 2000 01:31:31 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > According to Brett Glass: > > That's probably because it was done all at once. What if source were ran > > through a formatter that removed tabs and trailing white spaces during the > > commit process? > > Diff obfuscation is the major problem here and would make "cvs diff" "cvs > rdiff" unusable because you have to sort which deltas are for whitespace > removal and the others. > > You don't want that. If anyone really gave a damn about it, it could be fixed with repository suregery. That is, you go through the CVS raw repository files, and remove ALL trailing whitespace from the offending files. This will ensure that the CVS diff will show only actual code changes. The next analysis in this too-long-running-thread I would like to see is how many of those trailing spaces were original, and how many crept in over the years from someone using EMACS or some other editor in the wrong mode. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message