Skip to content

Commit d7ac8d8

Browse files
Chris MetcalfJonathan Corbet
authored andcommitted
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>
1 parent a907c90 commit d7ac8d8

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎Documentation/SubmittingPatches‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,21 @@ generates appropriate diffstats by default.)
718718
See more details on the proper patch format in the following
719719
references.
720720

721+
15) Explicit In-Reply-To headers
722+
--------------------------------
723+
724+
It 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
726+
previous relevant discussion, e.g. to link a bug fix to the email with
727+
the bug report. However, for a multi-patch series, it is generally
728+
best to avoid using In-Reply-To: to link to older versions of the
729+
series. This way multiple versions of the patch don't become an
730+
unmanageable forest of references in email clients. If a link is
731+
helpful, you can use the https://lkml.kernel.org/ redirector (e.g., in
732+
the cover email text) to link to an earlier version of the patch series.
733+
721734

722-
15) Sending "git pull" requests
735+
16) Sending "git pull" requests
723736
-------------------------------
724737

725738
If you have a series of patches, it may be most convenient to have the

0 commit comments

Comments
 (0)