Re: [PATCH] checkpatch: improve error message for p1-check

From: David Rientjes
Date: Wed Oct 26 2011 - 19:34:48 EST

On Wed, 26 Oct 2011, Joe Perches wrote:

> > So we need a combination of the two approaches then, it makes sense to
> > only emit the warning if the patched file exists in both prefixes.
> I don't think so. What about something like:
> $ diff -urN kernel/foo~ kernel/foo > patch
> I think we should only care about the patched file,.

I mean it only makes sense if both prefixes exist (otherwise patch and
git-apply will assume it's not a -p0 patch).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at