From patchwork Tue Dec 7 08:31:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?5b6Q5rKb5paHIChBbGVlbik=?= X-Patchwork-Id: 12661329 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D173C433FE for ; Tue, 7 Dec 2021 08:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232909AbhLGIf3 (ORCPT ); Tue, 7 Dec 2021 03:35:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232891AbhLGIf1 (ORCPT ); Tue, 7 Dec 2021 03:35:27 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1313C061746 for ; Tue, 7 Dec 2021 00:31:57 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id v11so27771031wrw.10 for ; Tue, 07 Dec 2021 00:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:mime-version :content-transfer-encoding:fcc:to:cc; bh=2wOIUyXvK6HBA37YvvgtpeXS/BCdUCODvPh5e+IWqzE=; b=qCNYkthkvw4QSiD2TTdffmnWc/SXi9w16htu3dhu9W0C5ZQ64Ij++L8Vyyd5vahGM8 +devWaJX/7JtV+kBcIm1xmJ07KWN5QzESAe0cRsRH0J6t2Zwoa/OFq/D7VZO0J9+JZ7t XbVFmVfO7VgYlQ36Ou+yizYRA1GxTchWI78eF5OvlS/XjY5U0TMhOZ1uFaO8XAY1t+PL vJhb7mLR0rWs/jGFdtplL/OfDMY07Knc2/4KsEzerD4VtJJHeo/pAdpM0BPAQ4MxFEll oDDaojal3B2kWRL/Wwv4wjtY+tZYIPS0OeGdl8vsMYX87h9YXB4xguhN8I5U9dD0hIUv mF7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:mime-version:content-transfer-encoding:fcc:to:cc; bh=2wOIUyXvK6HBA37YvvgtpeXS/BCdUCODvPh5e+IWqzE=; b=wR/mTeZ4Qns1zGC3t2mAWe/YcpYIfMlHeLyns6MEnQ8P0DZXpMPfTdHTnJHkkiFTFs KYGxO/G0jSRioOr3+cHsGCZOdVeH+VMH2+TQQF9d47upmC8EYevZ/tbb/Lkp0707Wzy7 eoukafI5TTPqAezNYY9G6s/30JPXIU8Cc8IudVyys4OgpS0puq9aTbnyexn3cyVd4+KJ mFyANdw8sgGCsdjXQdijtX7kJPLHcmS0nQzaprhbU4eM2xhCeLeLbgVVxcvPMIcRK8eP KEG+8xFUTWITaxbd8tk2CGMFvw4jG97t2DACOMsVhNa3s/5/Yip/N6XVAYy//CFImqaY RxHA== X-Gm-Message-State: AOAM532o+i7PEwQqS32MpnWhHb2AhE+Vvzh0M/5wuz4/M7NiEozZxhwl FwffLpo810b0w2N2Jz8JimFZjQc1miA= X-Google-Smtp-Source: ABdhPJz6X9ECZOP0GMG+7X34mMx3UrjG5MIbdBNNr1leHQaNSivNzG1TCbYwuQvlVdn7wGFXHmxDiA== X-Received: by 2002:a5d:668f:: with SMTP id l15mr48967549wru.182.1638865916336; Tue, 07 Dec 2021 00:31:56 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id v8sm13641770wrd.84.2021.12.07.00.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 00:31:54 -0800 (PST) Message-Id: In-Reply-To: References: Date: Tue, 07 Dec 2021 08:31:51 +0000 Subject: [PATCH v17 1/3] doc: git-format-patch: describe the option --always MIME-Version: 1.0 Fcc: Sent To: git@vger.kernel.org Cc: =?utf-8?b?UmVuw6k=?= Scharfe , Phillip Wood , Johannes Schindelin , Elijah Newren , Aleen =?utf-8?b?5b6Q5rKb5paH?= , Aleen , =?utf-8?b?5b6Q5rKb5paHIChBbGVlbik=?= Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: =?utf-8?b?5b6Q5rKb5paHIChBbGVlbik=?= From: =?UTF-8?q?=E5=BE=90=E6=B2=9B=E6=96=87=20=28Aleen=29?= This commit has described how to use '--always' option in the command 'git-format-patch' to include patches for commits that emit no changes. Signed-off-by: 徐沛文 (Aleen) --- Documentation/git-format-patch.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 113eabc107c..be797d7a28f 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -18,7 +18,7 @@ SYNOPSIS [-n | --numbered | -N | --no-numbered] [--start-number ] [--numbered-files] [--in-reply-to=] [--suffix=.] - [--ignore-if-in-upstream] + [--ignore-if-in-upstream] [--always] [--cover-from-description=] [--rfc] [--subject-prefix=] [(--reroll-count|-v) ] @@ -192,6 +192,10 @@ will want to ensure that threading is disabled for `git send-email`. patches being generated, and any patch that matches is ignored. +--always:: + Include patches for commits that do not introduce any change, + which are omitted by default. + --cover-from-description=:: Controls which parts of the cover letter will be automatically populated using the branch's description. From patchwork Tue Dec 7 08:31:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?5b6Q5rKb5paHIChBbGVlbik=?= X-Patchwork-Id: 12661331 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF6E8C433F5 for ; Tue, 7 Dec 2021 08:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232917AbhLGIfa (ORCPT ); Tue, 7 Dec 2021 03:35:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232585AbhLGIf2 (ORCPT ); Tue, 7 Dec 2021 03:35:28 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4064C061748 for ; Tue, 7 Dec 2021 00:31:58 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id a9so27747498wrr.8 for ; Tue, 07 Dec 2021 00:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:mime-version :content-transfer-encoding:fcc:to:cc; bh=YZo0hLpe1XHitCHL2lO3PX5kJ4h4BAI4tahVKXjrVtk=; b=qxKbcufE2ljxhOXFLTvddNXMcXg0NU8jK/OZ1eqpBZrmSBceFhLpxxHIK1T6IUK7jL g8HejuLmC1pMiiLz59qiqdyRE+fJcaX/1WeCMrmNcVgGiNBquxrqf3gd2RyA9cZydsf1 gYSLJswgoZr34anPQkscVr8I8XEO9Gh0J4CFZxCkloTA058qlhBzK1GJlGWpLPhXBC3C 8YpaYxFZ0aS9hMn7VFW8OL9iaGzK9mxqVzBCSyjac5y4wYiXhXYfNKNxVe23IzlvIq8u oexs3u102Q5LRktPwQscYn6Nwdt3ColIsG0AG3r2wAmmF1YVgMkNkLFUrNTONCA1cgo4 MBeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:mime-version:content-transfer-encoding:fcc:to:cc; bh=YZo0hLpe1XHitCHL2lO3PX5kJ4h4BAI4tahVKXjrVtk=; b=stuHAteTuay/eGdSRlqAdwMUTDFItMBAeCIw7paF3cPduhqiKQCD10/Ny37q/dHJlj ku5pM5kHxwoW5BFHeS6LOvNlK5raMKC3xpWJ2dw+WvhuUy+ZjreBMY99SSIXoy6hdPxC gCzR2z+QVAWZfgo8V/28D55hXELk4bhhSca89/YkgIXxe4mg08ISlNzgsg/e5KgNyix2 1BVq+ecmtkyvNyS6nSLoeeNSPxlsOP5X7Kv19GOemxoirD5eaUfnhI5rZ7gV5GiK0mhz ZBAfEBK6EGMY3sHN43a5Bd/DlCnruvUSy2J2tDLCqG3tY5bS0UJGZtZE9LxU1B7Ofdfj dEzg== X-Gm-Message-State: AOAM531vUMVE+JH9wvWhGTUGmW5UPQF8KwSIWRLCe1AQHLad3SGTE33X eN3nGf2fi6FOnpvT8hy7sFrX2IRtV+4= X-Google-Smtp-Source: ABdhPJxFuGGMgz2t9nGgCRAq3Ix+I2AkjoDdq39Iqg2NW7sj5tX2pe/is1Ua48NhMpiA7/0EsqMFxw== X-Received: by 2002:adf:d1e2:: with SMTP id g2mr50461839wrd.179.1638865917206; Tue, 07 Dec 2021 00:31:57 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id t17sm1959563wmq.15.2021.12.07.00.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 00:31:56 -0800 (PST) Message-Id: In-Reply-To: References: Date: Tue, 07 Dec 2021 08:31:52 +0000 Subject: [PATCH v17 2/3] am: support --empty=