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 <dmukhin@ford.com>
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Denis Mukhin authored and Andrew Cooper committed 2025-03-11 22:30:10 +00:00
1 parent 87f8874fef
commit ec7a279a23
1 file changed
+12
+12
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.