From patchwork Wed Aug 3 14:43:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bertrand Marquis X-Patchwork-Id: 12935587 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE477C19F29 for ; Wed, 3 Aug 2022 14:43:35 +0000 (UTC) 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 X-Outflank-Mailman: Message body and most headers restored to incoming version 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-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 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 --- docs/process/sending-patches.pandoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-patches.pandoc index 7ff7826c992b..9c4c4655323b 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 title. + ### Backport: A backport tag is an optional tag in the commit message to request a