From patchwork Sat Apr 27 19:25:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denton Liu X-Patchwork-Id: 10920497 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 51C7D1395 for ; Sat, 27 Apr 2019 19:25:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40B1728852 for ; Sat, 27 Apr 2019 19:25:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34FDB2888D; Sat, 27 Apr 2019 19:25:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBA9D28852 for ; Sat, 27 Apr 2019 19:25:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbfD0TZ0 (ORCPT ); Sat, 27 Apr 2019 15:25:26 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:38020 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbfD0TZ0 (ORCPT ); Sat, 27 Apr 2019 15:25:26 -0400 Received: by mail-io1-f66.google.com with SMTP id y6so5701366ior.5 for ; Sat, 27 Apr 2019 12:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FsNyioq0jLLjn8Jeb9CS1R0qao5IKBCe3JoieSxAamI=; b=ACPRtwYXn8Rq1AjTPpYMQTQcYP+egd3fIv2rW5EGCXPTM+IR8cowAV00Wqp+ghKY7g a7d88v898sUXgOQT6j0IHaIoOk6SBj4eb7iDJAofEl23mZs2qUGySbURJc2iZReS5/sz YesZYfK1PspHuwWOlW4QgPyfAwo24zFmJur8zVJUu+eQeHKgwEmOVPMSko3USXxyoe8b mOdWX19to03o1qaiIavB/RoXFtzOFuy7NHJPG2Os8hj4NO7FjAwQukSzfFJntGtt7Ew7 1AMESbl7yGXXoOcNOe+T5nL+Sm0wa/HQguGVAG/QHXirSjGdK1xncMR9HpEw695Q79PM EDMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FsNyioq0jLLjn8Jeb9CS1R0qao5IKBCe3JoieSxAamI=; b=sT1dxG3YwrK/36FBvlFza041jNq6vwv8PchXDMJ60LzpagQMpPWXvMrI6gb13m9+Df wtWQyNObygryvWNcHtCsXTwm7t4w+2HW5qebEHAUWup222aHLvH5DR2yddxGYNEsASiD TKa8dVTRmkYt7U8DRXdelmeUWKwp9dmLdrACr/vVsYLvpawzw0crXy3kKcjVHI+Kw+vn 5vwtqOnPLqUtYHwMZPi95vEzg9TYy/zBcfIEjQ7tKfpIZY0HyZsMBavaS1kURIu2IOc+ PQc1kxNYQPG1HURJSexAgi3rZ33s/xMsP5FJfUp9No4V4V3oFhKal25JFSCQMcyekut0 oIUw== X-Gm-Message-State: APjAAAVfAYkrsTPFFL2WeWnN/wpsAZWaZvqD8YWpGAlpyugCkhDJFNuH DZnMzFbyizneF4a7UEUllZyCEf2Vog4= X-Google-Smtp-Source: APXvYqxps+Zayvi44yYHbW7RXpHAnY6ugCoyqmnEARUpw2TjNJCdRWe7O7L0PbP79iuNDGRhawVRLw== X-Received: by 2002:a6b:c9d0:: with SMTP id z199mr13524007iof.223.1556393125439; Sat, 27 Apr 2019 12:25:25 -0700 (PDT) Received: from archbookpro.localdomain (mobile-107-77-160-125.mobile.att.net. [107.77.160.125]) by smtp.gmail.com with ESMTPSA id g4sm6038476ioc.9.2019.04.27.12.25.24 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 27 Apr 2019 12:25:24 -0700 (PDT) Date: Sat, 27 Apr 2019 15:25:22 -0400 From: Denton Liu To: Git Mailing List Subject: [PATCH 1/2] git-format-patch.txt: document --no-notes option Message-ID: <48b6331d75c0e7cd2e435ae912f2b19f7f2f6b43.1556388260.git.liu.denton@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Internally, git-format-patch uses the `handle_revision_opt` parser. The parser handles the `--no-notes` option to negate an earlier `--notes` option, but it isn't documented. Document this option so that users are aware of it. Signed-off-by: Denton Liu --- Documentation/git-format-patch.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 1af85d404f..2c3971390e 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -22,7 +22,8 @@ SYNOPSIS [--rfc] [--subject-prefix=Subject-Prefix] [(--reroll-count|-v) ] [--to=] [--cc=] - [--[no-]cover-letter] [--quiet] [--notes[=]] + [--[no-]cover-letter] [--quiet] + [--no-notes | --notes[=]] [--interdiff=] [--range-diff= [--creation-factor=]] [--progress] @@ -263,6 +264,7 @@ material (this may change in the future). for details. --notes[=]:: +--no-notes:: Append the notes (see linkgit:git-notes[1]) for the commit after the three-dash line. +