Re: my first janitorial

From: Jan Engelhardt
Date: Sun Apr 01 2007 - 15:06:00 EST



On Apr 1 2007 08:17, Willy Tarreau wrote:
>
> - your patch was cut and cannot apply to anything. A proper patch starts
> with line beginning with "---" line, followed by a line with "+++",
> both indicating the file your patch is supposed to apply to. Make your
> patch with one level directory for the kernel so that it can apply with
> "patch -p1". For instance:
>
> $ diff -u linux-2.6.20/Makefile linux-2.6.20-mine/Makefile
>
> Another solution is to use '.' as the directory, in order to add one
> directory level for "patch -p1" to be happy :
>
> $ diff -u ./Makefile.orig ./Makefile

Suggesting quilt.



Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/