All true. Thanks for rewording.
The trailing space removal comes from the kernel project
aesthetics:
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
linux-2.6/Documentation/CodingStyle (end of Chapter 1)
"TAB SP TAB blah" visually is the same as "TAB TAB blah". It is
bad for the same reason as "fofofofo SP TAB EOL" (which is
visually the same as "fofofofo EOL") is bad. This is not from
the kernel project, so if the above reasoning is flawed, it is
my fault. I once considered saying 8 spaces are bad and should
be replaced with a tab, but I refrained from going that far ;-).
"Wasteful" is probably better than "funny"; I do not think of a
good wording.
Sometimes we do want to keep the trailing whitespaces (the patch
that came over e-mail to produce commit c7c24889, for example),
so getting warnings from "git-diff --check" (or its counterpart,
"git-apply --whitespace=warn") is not a crime. But most of the
time, they only waste space and bandwidth and many people who
are conscious about hygiene of their sources seem to avoid them
like the plague.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html