Re: Write and Submit Your First Kernel Patch
Michal Nazarewicz <[email protected]>
| Newsgroups | gmane.comp.version-control.git,gmane.linux.newbie,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <[email protected]> |
>> Kevyn-Alexandre Paré <[email protected]> writes: >>> 0001-Staging-comedi-driver-fix-coding-style.patch:27: ERROR: trailing whitespace >>> 0001-Staging-comedi-driver-fix-coding-style.patch:35: ERROR: trailing whitespace >>> 0001-Staging-comedi-driver-fix-coding-style.patch:43: ERROR: trailing whitespace >>> 0001-Staging-comedi-driver-fix-coding-style.patch:53: ERROR: trailing whitespace >>> >>> I have done a step by step explanation of what I have done: >>> http://kapare.blogspot.com/2009/09/write-and-submit-your-first-kernel.html>> >>> It seem to me that the whitespace are added after I do this command: >>> git format-patch -s -n master..mybranch > On Fri, Oct 23, 2009 at 3:13 PM, Michal Nazarewicz <[email protected]> wrote: >> Do "git rebase --whitespace=fix master" and git will try to fix whitespaces. Kevyn-Alexandre Paré <[email protected]> writes: > thx Michal, > > But the problem remain: If I'm not mistaken "git rebase --whitespace=fix master" should do the trick. I'm out of good ideas if it does not. Best I can advice is to fix the patch by hand -- just edit it in some decent editor and remove trailing whitespaces from those lines. -- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo--
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkriBvEACgkQUyzLALfG3x535wCfXiB4Rz1/uNltpt4jPUd2fn8c aAoAnAhCF4je11wA2ABlNjfxYkiwsqwO =0e6t -----END PGP SIGNATURE-----