aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-11-05 15:21:47 -0500
committerJonathan Corbet <corbet@lwn.net>2015-11-11 12:06:00 -0500
commitd7ac8d85d39f460df9204b875eb985e18a5c523b (patch)
treefc010fa0764b883d6dbeac2f272b7205d18cddfe
parenta907c907656bdbe082555a579ee6058a873b6e3a (diff)
Documentation/SubmittingPatches: discuss In-Reply-To
Add a paragraph suggesting best practices for when to link patches to previous LKML messages via In-Reply-To. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com> [jc: moved the added text to a separate section] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/SubmittingPatches15
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index fd89b04d34f0..0db4e106fbf0 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -718,8 +718,21 @@ generates appropriate diffstats by default.)
718See more details on the proper patch format in the following 718See more details on the proper patch format in the following
719references. 719references.
720 720
72115) Explicit In-Reply-To headers
722--------------------------------
723
724It can be helpful to manually add In-Reply-To: headers to a patch
725(e.g., when using "git send email") to associate the patch with
726previous relevant discussion, e.g. to link a bug fix to the email with
727the bug report. However, for a multi-patch series, it is generally
728best to avoid using In-Reply-To: to link to older versions of the
729series. This way multiple versions of the patch don't become an
730unmanageable forest of references in email clients. If a link is
731helpful, you can use the https://lkml.kernel.org/ redirector (e.g., in
732the cover email text) to link to an earlier version of the patch series.
733
721 734
72215) Sending "git pull" requests 73516) Sending "git pull" requests
723------------------------------- 736-------------------------------
724 737
725If you have a series of patches, it may be most convenient to have the 738If you have a series of patches, it may be most convenient to have the