]> xenbits.xensource.com Git - xen.git/commitdiff
doc: Add git commands to generate Fixes
authorBertrand Marquis <bertrand.marquis@arm.com>
Wed, 3 Aug 2022 14:43:04 +0000 (15:43 +0100)
committerJulien Grall <jgrall@amazon.com>
Thu, 4 Aug 2022 16:48:01 +0000 (17:48 +0100)
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 <bertrand.marquis@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Julien Grall <jgrall@amazon.com>
docs/process/sending-patches.pandoc

index 7ff7826c992b68804b41cc4a8605329f7a10e44c..2e74c3b57ef5a5ee88230b3ca367ea56ab10846f 100644 (file)
@@ -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