From: Bertrand Marquis Date: Wed, 3 Aug 2022 14:43:04 +0000 (+0100) Subject: doc: Add git commands to generate Fixes X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~351 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8a5116371da0505c9b716a9ad5df8a3b8b4c5ae4;p=xen.git doc: Add git commands to generate Fixes Add git commands examples that can be used to generate fixes and how to use the pretty configuration for git. This should make it easier for contributors to have the right format. Signed-off-by: Bertrand Marquis Acked-by: Stefano Stabellini Acked-by: Julien Grall --- diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-patches.pandoc index 7ff7826c99..2e74c3b57e 100644 --- a/docs/process/sending-patches.pandoc +++ b/docs/process/sending-patches.pandoc @@ -102,6 +102,10 @@ E.g.: Fixes: 67d01cdb5518 ("x86: infrastructure to allow converting certain indirect calls to direct ones") +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. + ### Backport: A backport tag is an optional tag in the commit message to request a