From nobody Thu May 2 23:46:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=arm.com Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1659537824331539.9546177500381; Wed, 3 Aug 2022 07:43:44 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.379972.613914 (Exim 4.92) (envelope-from ) id 1oJFag-000524-WD; Wed, 03 Aug 2022 14:43:18 +0000 Received: by outflank-mailman (output) from mailman id 379972.613914; Wed, 03 Aug 2022 14:43:18 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oJFag-00051x-Tb; Wed, 03 Aug 2022 14:43:18 +0000 Received: by outflank-mailman (input) for mailman id 379972; Wed, 03 Aug 2022 14:43:17 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oJFaf-00051q-Uc for xen-devel@lists.xenproject.org; Wed, 03 Aug 2022 14:43:17 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-sth1.inumbo.com (Halon) with ESMTP id 9bb122d4-133a-11ed-bd2d-47488cf2e6aa; Wed, 03 Aug 2022 16:43:16 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 36C8511FB; Wed, 3 Aug 2022 07:43:16 -0700 (PDT) Received: from e109506.cambridge.arm.com (e109506.cambridge.arm.com [10.1.199.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8549E3F70D; Wed, 3 Aug 2022 07:43:14 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9bb122d4-133a-11ed-bd2d-47488cf2e6aa From: Bertrand Marquis To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH] doc: Add git commands to generate Fixes Date: Wed, 3 Aug 2022 15:43:04 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1659537824851100001 Content-Type: text/plain; charset="utf-8" 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: Julien Grall Acked-by: Stefano Stabellini --- docs/process/sending-patches.pandoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-pat= ches.pandoc index 7ff7826c992b..9c4c4655323b 100644 --- a/docs/process/sending-patches.pandoc +++ b/docs/process/sending-patches.pandoc @@ -102,6 +102,10 @@ E.g.: =20 Fixes: 67d01cdb5518 ("x86: infrastructure to allow converting certain = indirect calls to direct ones") =20 +If git was configured as explained earlier, this can be retrieved using +``git log --pretty=3Dfixes`` otherwise ``git log --abbrev=3D12 --oneline``= will +give the proper tag and title. + ### Backport: =20 A backport tag is an optional tag in the commit message to request a --=20 2.25.1