]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
docs: add explanation for 'Resolves:'
authorDenis Mukhin <dmukhin@ford.com>
Tue, 11 Mar 2025 07:28:26 +0000 (07:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Mar 2025 22:30:10 +0000 (22:30 +0000)
'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 <dmukhin@ford.com>
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
docs/process/sending-patches.pandoc

index 2e74c3b57ef5a5ee88230b3ca367ea56ab10846f..1991932b684049638c3603c51002b27ca244b90a 100644 (file)
@@ -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: <URL>
+
+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