From: Randy Dunlap Date: Sun, 8 Jan 2006 09:04:52 +0000 (-0800) Subject: [PATCH] SubmittingPatches: diffstat options X-Git-Tag: v2.6.16-rc1~714 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58591e8a1f4de2e53fdd09b2aa86948687106c07;p=linux-2.6 [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 3c12fc1469..6198e5ebcf 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.