From patchwork Wed Nov 9 10:11:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?RWR3aW4gVMO2csO2aw==?= X-Patchwork-Id: 13037314 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 F3E30C4332F for ; Wed, 9 Nov 2022 10:11:53 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.440811.695009 (Exim 4.92) (envelope-from ) id 1osi3d-0003Mz-9Q; Wed, 09 Nov 2022 10:11:45 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 440811.695009; Wed, 09 Nov 2022 10:11:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1osi3d-0003Ms-6u; Wed, 09 Nov 2022 10:11:45 +0000 Received: by outflank-mailman (input) for mailman id 440811; Wed, 09 Nov 2022 10:11:44 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1osi3c-0003Mj-2J for xen-devel@lists.xenproject.org; Wed, 09 Nov 2022 10:11:44 +0000 Received: from esa3.hc3370-68.iphmx.com (esa3.hc3370-68.iphmx.com [216.71.145.155]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id c5cc7891-6016-11ed-8fd2-01056ac49cbb; Wed, 09 Nov 2022 11:10:45 +0100 (CET) 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: c5cc7891-6016-11ed-8fd2-01056ac49cbb DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1667988702; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3MZ1/1SwF++hAOysPOIQibF28l1BFKEwuznY42N84NU=; b=El/tO3p1/vUHW7Lfz1cDcgC2V0tzRC5fDxHut6E0WYEOJJhow/bID02W FspG0+nCX2csSzfe/uySGupftLiHJlP/gbJ7un4nx8ArhwD4ieevIlmKT 6r87IDEWs4hegHvyJV1VQyvrJ1UPZKw1xOKl6MEMJnfRbBiASrS4BPgjt 8=; Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: None X-MesageID: 84459890 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:N2li56KJt9msVDFsFE+Ry5UlxSXFcZb7ZxGr2PjKsXjdYENS3j0Gy GAXDG2Fb6qLajbyfYokPNi/8UgA6JTTn98yTwFlqX01Q3x08seUXt7xwmUcnc+xBpaaEB84t ZV2hv3odp1coqr0/0/1WlTZhSAgk/rOHv+kUrWs1hlZHWdMUD0mhQ9oh9k3i4tphcnRKw6Ws Jb5rta31GWNglaYCUpJrfPdwP9TlK6q4mlB5wRvPaojUGL2zBH5MrpOfcldEFOgKmVkNrbSb /rOyri/4lTY838FYj9yuu+mGqGiaue60Tmm0hK6aYD76vRxjnVaPpIAHOgdcS9qZwChxLid/ jnvWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I+QrvBIAzt03ZHzaM7H09c4tHG1Rz +MaCAkuRTPa2+G23oDiTNlz05FLwMnDZOvzu1llxDDdS/0nXYrCU+PB4towMDUY354UW6yEP oxANGQpPE+ojx5nYz/7DLozkPmpgD/jdCdfq3qepLYt4niVxwt0uFToGIqJJoHbFZQN9qqej kLYz33eDBhECOKG8wCg8X6Go/HCnCyuDer+E5Xnr6U30TV/3Fc7CgASVFa9iem0jAi5Qd03A 1MQ0jojq+417kPDZsLmQxSyrXqAvxgdc9ldCes37EeK0KW8yxaUAC0IQyBMbPQitdQqXno62 1mRhdTrCDdz9rqPRhq19L2ZsDezMig9NnIZaGkPSg5t3jX4iNht1FSVFI8lSfPryI2ucd3t/ 9yUhHIji6opkswr7oaQ3gmbgDKylMHPfhFgs207QVmZxg9+YYekYamh5l7a8etMIe6lc7WRg JQXs5PAtb5TVPlhgATIGbxQR+/xu55pJRWG2TZS848dGyNBEpJJVaRZ+3lAKUhgKa7okhe5M RaI6Wu9CHK+VUZGjJObgarrVazGLoC6T7wJs8w4ifIfCqWdjCfdoElTibe4hggAUCEEyMnTw 6uzf8e2Fmo9Aq961jewTOp1+eZ1mH9vnjmOHcGik0zPPV+iiJm9EOltDbdzRrphsPPsTPv9r 76zyPdmOz0ACbajM0E7AKYYLEwQLGhTOHwFg5U/SwNCSyI4cFwc5wj5m+x8KtI+xPkMyo8lP BiVAydl9bY2vlWfQS3iV5ypQOqHsUpXxZ7jARERAA== IronPort-HdrOrdr: A9a23:kCvC9aiTNVT7lMhxvd7eR8eryXBQXtQji2hC6mlwRA09TySZ// rOoB19726TtN9xYgBGpTnuAtjifZqxz/FICOoqTNOftWvdyQmVxehZhOOIqVCNJ8SXzJ8l6U 4KSchD4bPLY2SS9fyKhTWFLw== X-IronPort-AV: E=Sophos;i="5.96,150,1665460800"; d="scan'208";a="84459890" From: =?utf-8?b?RWR3aW4gVMO2csO2aw==?= To: CC: =?utf-8?b?RWR3aW4gVMO2csO2aw==?= , "Andrew Cooper" , George Dunlap , Jan Beulich , Julien Grall , "Stefano Stabellini" , Wei Liu Subject: [PATCH] docs/process/sending-patches.pandoc: add a tip about using --trailer to collect Acked-by tags Date: Wed, 9 Nov 2022 10:11:14 +0000 Message-ID: <44a0555f37251e57f0943ed4416013f047da40fb.1667988674.git.edvin.torok@citrix.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 This can be useful when preparing a series for resend and want to collect any Acked-by/etc. tags from the mailing list. It avoids duplicate entries, and puts the tag in the correct place (even if the commit has a --- line), and you get to see the result before committing (unless you use --no-edit). Signed-off-by: Edwin Török --- docs/process/sending-patches.pandoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-patches.pandoc index 2e74c3b57e..90ac7b6cf1 100644 --- a/docs/process/sending-patches.pandoc +++ b/docs/process/sending-patches.pandoc @@ -72,6 +72,12 @@ after the patch was written. Do not split a tag across multiple lines, tags are exempt from the "wrap at 75 columns" rule in order to simplify parsing scripts. +Tags can be added on the command-line in the appropriate place by using +the `--trailer` flag (on a recent enough version of git), e.g.: +``` +git commit --amend --trailer 'Acked-by: Maintainer ' +``` + ### Origin: Xen has inherited some source files from other open source projects. In case