From ec7a279a23462270bfda949bcd1bbaee1f81555d Mon Sep 17 00:00:00 2001 From: Denis Mukhin Date: Tue, 11 Mar 2025 07:28:26 +0000 Subject: [PATCH] docs: add explanation for 'Resolves:' 'Resolves:' tag may be used if the patch addresses one of the tickets logged via Gitlab to auto-close such ticket when the patch got merged. Add documentation for the tag. Resolves: https://gitlab.com/xen-project/xen/-/issues/199 Signed-off-by: Denis Mukhin Reviewed-by: Jason Andryuk Acked-by: Stefano Stabellini --- docs/process/sending-patches.pandoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-patches.pandoc index 2e74c3b57e..1991932b68 100644 --- a/docs/process/sending-patches.pandoc +++ b/docs/process/sending-patches.pandoc @@ -106,6 +106,18 @@ If git was configured as explained earlier, this can be retrieved using ``git log --pretty=fixes`` otherwise ``git log --abbrev=12 --oneline`` will give the proper tag and commit-id. +### Resolves: + +If your patch addresses an issue logged in a GitLab ticket, use the `Resolves:` +tag followed by the issue link to automatically close the ticket when the patch +is merged. + + Resolves: + +E.g.: + + Resolves: https://gitlab.com/xen-project/xen/-/issues/199 + ### Backport: A backport tag is an optional tag in the commit message to request a