mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [FYI] whitespace removal
@ 2006-04-30 17:27 Christian Trefzer
  2006-04-30 17:36 ` Dmitry Fedorov
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Trefzer @ 2006-04-30 17:27 UTC (permalink / raw)
  To: lkml

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

Hi there,

while fiddling with some driver development I noticed the disturbing
effect of trailing whitespace while comparing functionally different
versions of a driver. Since even git pukes when it encounters some, I
did
	find -type f | xargs sed -e"s/\(\t\|\ \)*$//" -i
on Linus' current git to estimate the dimension of the mess, and the
resulting diff was 25MB in size. Mebibytes, that is (and yuck, what an
un-word). Granted, for one line that has its whitespace removed we get
roughly eight lines in the diff, so this is mostly bloat.

I ended up sending cleanup patches to the maintainers of the external /
internal repository of that driver respectively, but looking at the size
of this "simple" no-op change, I'd rather leave it to driver or
subsystem maintainers to Do The Right Thing in itty bitty steps.

Not trying to be pedantic here, and even less trying to start a flame
war.

Kind regards,
Chris


[-- Attachment #2: Type: application/pgp-signature, Size: 829 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-30 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-30 17:27 [FYI] whitespace removal Christian Trefzer
2006-04-30 17:36 ` Dmitry Fedorov
2006-04-30 17:50   ` Christian Trefzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®