From patchwork Tue Nov 30 09:55:13 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: 12646665 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 5D081C433EF for ; Tue, 30 Nov 2021 09:55:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240483AbhK3J6m (ORCPT ); Tue, 30 Nov 2021 04:58:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235488AbhK3J6h (ORCPT ); Tue, 30 Nov 2021 04:58:37 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A011CC061746 for ; Tue, 30 Nov 2021 01:55:18 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id d9so22210347wrw.4 for ; Tue, 30 Nov 2021 01:55:18 -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=mXpheTkcy2yNisAAw0AGb8acrhhtboD9qeSnhWs2CQ5JASCDdjT5U7I4NPXzhD33/W UZ5ewgDlwGfLVqJwOmcPRxNdn2WnS7hRFx/hyd268Mab4gk+GNeq0itRgTQjWJpYQy/Z eKrYo1KsM52+1gQo6yYkHb+QT83AGRrmtHLqXkzKNlQ0WPSDSgB6iKok4/8Mpzbzd8Sn wX0z+IInW4H93kprJnpSJ4OmOv7QuODqJEhwPYIq0wkSy7FuP8NZrlAQbJYpT9txQxFO qHt587l91TvfAjbgWIXZ5dSFE8m+dO9w+e4qte4eY3ddn7C3zVax8UHPJ00aZUYqrTiI 1bpg== 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=EboG77SEvnwFjioF01me/jqTqqyFFNDE2B4KVWv8J5kW1KI9Cdn2apVXm1OvjGeR19 Z6IdU1FQ4rJSihnyb90iOPLcSrwwI8hvKyOT370nBVR+9k9q8Xr9T9Hks7snFqoKxCER hnNRnQD213iKviPrt9SWo8CwL6vEYX7VE8Khs+tsv2vGlrIG0iY38sKTnHXMl38pNqWl OVPVeYrYTyRZiyRFD/AtK043hhUZ/p1mZvRD3SRxF7uIuBhlVo4+36p+j971NvvRKHKr BCIiT8aRosng8K8ex45JJiVkVw8VdIdErtCMek4oYuInT12LLwmUIP94zs3TxwaDdMYz BlFw== X-Gm-Message-State: AOAM531vZ4YOIImWF6Hp0kEt8rWzfp3FdiKpGZH67o9ziKbC+N4LwBLz KTktigNGJWnVrQkYHoIOOy3OA+zs/pA= X-Google-Smtp-Source: ABdhPJyBfKHfG5u0jB1ElDba4MrMl4HBcSyNCgGGHrBh7+OXZW94yrAwClDrq3HTrMOi4bs5Z6SfHQ== X-Received: by 2002:a05:6000:1aca:: with SMTP id i10mr39705620wry.407.1638266117108; Tue, 30 Nov 2021 01:55:17 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id y142sm1949564wmc.40.2021.11.30.01.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 01:55:16 -0800 (PST) Message-Id: In-Reply-To: References: Date: Tue, 30 Nov 2021 09:55:13 +0000 Subject: [PATCH v13 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 Nov 30 09:55:14 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: 12646667 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 737D8C433FE for ; Tue, 30 Nov 2021 09:55:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240508AbhK3J6p (ORCPT ); Tue, 30 Nov 2021 04:58:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236192AbhK3J6i (ORCPT ); Tue, 30 Nov 2021 04:58:38 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C08BC061574 for ; Tue, 30 Nov 2021 01:55:19 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id o13so42954540wrs.12 for ; Tue, 30 Nov 2021 01:55:19 -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=JsXFXgWygtDAg3a2VyAkWbKNd9RogFzH04AsAwVp8Dg=; b=Cv4B+cnPfwcT1IkXsMH/vOISgbP4Y+vfR+7scPtbHLnDm4iGO12yICFte6P791FaD7 r3HrFSnKUnzEx3+it5z1fZqSFTcilvJLth5ZDoHD+iCCuisL6bj0Won/IepHOYUCzZpa K5UePPgvzKEHbUA4JUPdsKK4k6j0SoOiWlQUSnkBcT7N1QPqEOk7GSSA9ZzzmyNGjp02 +Rbd8lyVYc85DoEkhnNTvrxzfz5RPSha6R3nITkD5yqTTGVt7j9TivsdSXoI3KjiEhrs LvIo+MkFqvdIbKWbqwqJH+crrbw0vYrWZc0XNbZnR3n5zuk9Ms4beuyClhlPyhMY2Erv BFQQ== 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=JsXFXgWygtDAg3a2VyAkWbKNd9RogFzH04AsAwVp8Dg=; b=p475eR9ixRGHswt5KU+8q/vr2pu4LZ8d3V471ADmS3sF4cDUgQaEiz7g6+6TE2PyJ/ uDRS+Qlk2bBGtOQNA5cHRzPHfnxTBvHTmfnwTxjcPTMAnThUsZxj8htxfEG96TobbRC5 bqd95PIXvVOWheRIr9hlxDFu7YxbWO+5rgtX6KCajly+W/9eRSM71pK7aS75GarWBos/ joQqBCAwSxxHS/bPkPZki26O8lQC4QEXQZdN6Z7k1Ih/30JqSe32ZO7YhsD+GDY4kxp/ OUYpVHdMSFs4xD95UkdoqS5a7YOWQjXtEGa+ZxPC7IGrN3c7px8SEnD6cARC5+CkjKNS 14qA== X-Gm-Message-State: AOAM530+cY8BFzaz1fw1jIOKSVcvQNFK2YrDjI4+KB/ztLW+2R9jTSct Q72c7KeIBs7I3PJlu/WAAuCNYGp6yYQ= X-Google-Smtp-Source: ABdhPJz2+GljS9XmLDRpCE5flLqDcaWZLSQhdciLXMuV3kzC3bhgdPDlP6RBsrk1DEEH7dguTXRmKw== X-Received: by 2002:a5d:58f9:: with SMTP id f25mr38955414wrd.206.1638266117790; Tue, 30 Nov 2021 01:55:17 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id u23sm17049991wru.21.2021.11.30.01.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 01:55:17 -0800 (PST) Message-Id: In-Reply-To: References: Date: Tue, 30 Nov 2021 09:55:14 +0000 Subject: [PATCH v13 2/3] am: support --empty=