Attached patches are _horrible_ once you have many patches that you want
to maintain in a sane way and apply in one go.
In particular, with in-line text patches, I can:
- see the patch easily when reading email, without the need to do
anything special to inspect the attachment, regardless of what email
client I happen to use.
- keep emails as emails, and save them to folders etc, without
losing any information of where the patch came from, while at the
same time the folders are _also_ the patch and work with standard
tools like "diffstat".
- easily just "reply" to the person, and quote the part of the patch
I have problems with.
- save all the emails I want to apply in one single email folder
("doit"), and do a simple
patch -p1 < ~/doit
to apply all of them at the same time.
Note that NONE of these are practical with attachments.
In short: if your mailer eats whitespace or causes similar corruption,
just FIX THE MAILER. There is no excuse for a mailer that corrupts the
mail.
And while attachments may _appear_ convenient, they most definitely are
not. They require special care and cannot be batched or edited with
normal tools.
That may not matter if you just have one or two patches a week to worry
about, but trust me - attachments are crap. Use them for binary data
that cannot be edited or combined, _not_ for stuff you expect to be able
to actually change and extract pieces of with regular tools.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/