From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 305FD30100E for ; Sun, 19 Jul 2026 19:54:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784490886; cv=none; b=Cw+AJye6hTlpmxEEILQOCvBYZa7M3sighbx7Ek5fGjkVmp1zkHefJYm9JJ0STMfKBC4VgfFARXo4OU05HUO05nxgq4j07dx87AwLHXG3BLrgENd2EwIH1fRp+g9wYbI1T3GOtIrbVZa09sEK67ZYIJ0TcCrvj3KBjDEGQ4NNCh4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784490886; c=relaxed/simple; bh=aWmCTvtf2P6ZNbPV6SlEk9RKXWyoqBnYIVAcXpjwDJk=; h=Message-Id:In-Reply-To:References:From:Date:Subject:MIME-Version: Content-Type:To:Cc; b=Z8YnIhXnGtLULIZqQu1XPnPIw9OUlAMDYjYE5gcr88YmHPxoIeWZAbRyD8ylx8/aswa/ZCbHFDXF8YzK0Xvrphj2dVfmvjfXgu3B/Pe/tAg4JJSMWqgQ9yTfRnMhgQ0jGalv9it+GKuXD1JtqNWfNa31CDC6MNw97+2USFeJIvk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NvdBFAPA; arc=none smtp.client-ip=209.85.219.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NvdBFAPA" Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-8ff88549786so116488156d6.3 for ; Sun, 19 Jul 2026 12:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784490883; x=1785095683; darn=vger.kernel.org; h=cc:to:fcc:content-transfer-encoding:content-type:mime-version :subject:date:from:references:in-reply-to:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=pAIKcah3S4ZMn1AMuAZcc9TKcnumnIUZNiD0lXwl/HQ=; b=NvdBFAPANxHh6zvMsQ9yxmB/F3V2h14uERa+HaptwVU+8D/Oeci32Sb3wpgPcyVLwN MBM7DPzgSbJwG3/i2zWuR1BLs7sRjQthUWviNJs+j7Ziftl5a+Z1LXOjjZoBqlSkv/mP KWSmmnocTEfFJ39nYwMb1KMk3UCIjXrUdZbZxA9fN3nB1OS/jRp/1aXI7R96kfwqEpen +H9Kl/pIOzEzFhR6XZscjiSQ9hxUyIJL2K4qwzJEQkUu+p9DDbGxkH2Waapt+9oxV4fE 4xBSrhpslLRry7ie3LCccucvhCWXcGwl20AoTkuqhVLjew/rYm+d8bTYh6jXuNBi2j5e tR0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784490883; x=1785095683; h=cc:to:fcc:content-transfer-encoding:content-type:mime-version :subject:date:from:references:in-reply-to:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=pAIKcah3S4ZMn1AMuAZcc9TKcnumnIUZNiD0lXwl/HQ=; b=ENf62vonro1vgfn7NLk1+DfFJaZBcWn5Nzr9AT4AyWY2FuxnDdBXh9YR06DypVlXMu coqrwVtyTiMDgpjALSUNxXoLQte4ZkK4rqNY7pAWYFZce0lFNTSmoIb0sLKb1dLZny4N PqzBLmsR4fCQY80xGfob2Kof3O2YqrBSGMwLcK9GQ+oC6NQCfMSyx78M03GgsQb9rDV4 P/jTIoF0J+5Chux6UtKVGBo5/wSGOBDRvrUSaP1Xtq+NTKmcaasE1/KYzM/UYzwFpIB6 RU5ofwWCoDiros6A9IZ6G7zURXiHLX3DIc97CdaLFwvyccfqtmL+sRs42ismOZ0J+1mS Gk8Q== X-Gm-Message-State: AOJu0Yxmo/ov6Jc3a5c2dOJtS3AJJMiwOYuv3cTr0TYj7JfRqAbPOOHM Wek8HzixmCsAVBbFIxR3TKGgjOcd4uS8JzNC3O2kJkAgh+wexWglBMtEb1KtmQ== X-Gm-Gg: AfdE7cme5ZPwTE2QfX4fKcM6MM90lUpt/u2EQ1YydCvbF6B4zC7uLZcdy5PwyBLFx+o NyHbZGvcmgk2XgvBZ2t1vA8E6/CfGRTcTXL4vBMUSBR5ZpAaxq/aRmuGFYXVSMSndqj5rXzKEsX PYnOcEnOOf5AKu14eFQURzlUAtEbvap42ffD1qRg56U4mgF3hPo1bXtDlmn2Aonit5Nk3nQ8mZl tzAwCR9pMoRijORpIXByG6+c7OuIRzOdP48xDRr+PNnBlrzPpVD847h1CdqazC8PmluAVrAK4p/ +3d+mLC0w8wKyV4FDO1NHGZP6klIasYccF5VB6OFll0p9qp9YMD3mfXEL88vsbkSGMwchkF887Z K12Trl/Cgn6esPLZifvutCY4PY4RLtyjQxx3LX35VyF7nzxeBVDowhLFjhygryXr54b12+BCc3p hb/bQ= X-Received: by 2002:a05:6214:418b:b0:8ec:cf61:ce4d with SMTP id 6a1803df08f44-907783d2a47mr119179696d6.52.1784490882980; Sun, 19 Jul 2026 12:54:42 -0700 (PDT) Received: from [127.0.0.1] ([52.188.87.20]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-9077853fa67sm74909956d6.6.2026.07.19.12.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2026 12:54:42 -0700 (PDT) Message-Id: In-Reply-To: References: From: "=?UTF-8?q?Jean-No=C3=ABl=20Avila?= via GitGitGadget" Date: Sun, 19 Jul 2026 19:54:35 +0000 Subject: [PATCH 2/4] doc: convert git-format-patch synopsis and options to new style Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fcc: Sent To: git@vger.kernel.org Cc: =?UTF-8?Q?Jean-No=C3=ABl?= Avila , =?UTF-8?q?Jean-No=C3=ABl=20Avila?= From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= Replace [verse] with [synopsis] in the SYNOPSIS block and remove single-quote formatting from the command name. Backtick-quote all option terms in the OPTIONS section, convert standalone placeholders to __ form, and convert single-quoted commands and tools in prose to backtick form. Also update the included files: - diff-options.adoc: backtick-quote the git-format-patch-specific option terms (-p, --no-stat, --max-depth=) - format-patch-caveats.adoc: convert patch(1) to `patch`(1) Signed-off-by: Jean-Noël Avila --- Documentation/diff-options.adoc | 8 +- Documentation/git-format-patch.adoc | 264 ++++++++++++++-------------- 2 files changed, 136 insertions(+), 136 deletions(-) diff --git a/Documentation/diff-options.adoc b/Documentation/diff-options.adoc index c8242e2462..e605d28678 100644 --- a/Documentation/diff-options.adoc +++ b/Documentation/diff-options.adoc @@ -13,8 +13,8 @@ endif::git-diff[] endif::git-format-patch[] ifdef::git-format-patch[] --p:: ---no-stat:: +`-p`:: +`--no-stat`:: Generate plain patches without any diffstats. endif::git-format-patch[] @@ -893,8 +893,8 @@ endif::git-format-patch[] reverted with `--ita-visible-in-index`. Both options are experimental and could be removed in future. ---max-depth=:: - For each pathspec given on command line, descend at most `` +`--max-depth=`:: + For each pathspec given on command line, descend at most __ levels of directories. A value of `-1` means no limit. Cannot be combined with wildcards in the pathspec. Given a tree containing `foo/bar/baz`, the following list shows the diff --git a/Documentation/git-format-patch.adoc b/Documentation/git-format-patch.adoc index f7905c0f7c..5eccb2cf60 100644 --- a/Documentation/git-format-patch.adoc +++ b/Documentation/git-format-patch.adoc @@ -8,8 +8,8 @@ git-format-patch - Prepare patches for e-mail submission SYNOPSIS -------- -[verse] -'git format-patch' [-k] [(-o|--output-directory) | --stdout] +[synopsis] +git format-patch [-k] [(-o|--output-directory) | --stdout] [--no-thread | --thread[=