From: Randy Dunlap Date: Sun, 8 Jan 2006 09:04:52 +0000 (-0800) Subject: [PATCH] SubmittingPatches: diffstat options X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58591e8a1f4de2e53fdd09b2aa86948687106c07;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] SubmittingPatches: diffstat options Add desired 'diffstat' options to use for kernel patches. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches index 3c12fc14694..6198e5ebcf6 100644 --- a/Documentation/SubmittingPatches +++ b/Documentation/SubmittingPatches @@ -386,6 +386,9 @@ a diffstat, to show what files have changed, and the number of inserted and deleted lines per file. A diffstat is especially useful on bigger patches. Other comments relevant only to the moment or the maintainer, not suitable for the permanent changelog, should also go here. +Use diffstat options "-p 1 -w 70" so that filenames are listed from the +top of the kernel source tree and don't use too much horizontal space +(easily fit in 80 columns, maybe with some indentation). See more details on the proper patch format in the following references.