On Mon, Apr 30, 2012 at 4:45 AM, Emmanuel Deloget
<emmanuel.delo...@efixo.com> wrote:
> Le 28/04/2012 22:50, Mirko Vogt a écrit :
>
>> By the way: All your patches didn't apply out of the box due to
>> whitespace errors.
>
>
> My bad. I think I did a straight svn diff + select the text in my
> xterm and copy it using the middle button. That may have changed
> the whitespaces here and there. I'll do somethign better for my
> next patches.

I've found that problem, too. What works for me is using the redirect symbol ">"
So something like
svn diff > new_feature.patch

Open that file with kwrite, and then copy the code. This seems to
preserve correct whitespace.

~Jonathan Bennett
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to