From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) (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 1BC283F5BE3 for ; Thu, 23 Jul 2026 21:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784841578; cv=none; b=dI8PYia/P+oxgIskw2PDTcX0RUFfO0KdHNlk3HH/lP7nHRdqy8aeLFHETQPhyLGH6adia6zdHoafDvL/P6+mvzP1D6onKUv7j5XgTKqlA+AK9+tibjApRE2OKiB+W5tNSkPQHQ2EbjUWoZyCY5wHTjm7ix0NhVMTwZsL5T+F3zI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784841578; c=relaxed/simple; bh=52jIgeYBqhUPGQCFJ4m7s/Cp6p1hIV/LBwfrN9RzBE8=; h=Message-Id:In-Reply-To:References:From:Date:Subject:MIME-Version: Content-Type:To:Cc; b=jy/CwR3zfxof3TjuJIFpXEgudvso3ibBl3wfnaOnDAsxt+6JwYjpXkJIFyErah12qiylbuidWbUs0bpaCN+DN8Fng3W+rrWlur6SZ1iZJty3nyMQKIxnxlN1YUFfKk+cVbtIMJeeAp2E8zwCaX5N7+cDkEeyUaZbIhjDtW0oYEQ= 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=YNTTV5FP; arc=none smtp.client-ip=209.85.210.41 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="YNTTV5FP" Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-7e9fc3de7ceso504639a34.1 for ; Thu, 23 Jul 2026 14:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784841575; x=1785446375; 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=fQjTCejnaetJLhDqt1+sDQ0hrPqRJas8lq1vtNxVpyM=; b=YNTTV5FP09ZpE0XS4qcOj88vKiDPBYPtl8X01cpwwvsg0KXbCpTdVzYXCUBbw8f6I6 m3K/QisSZuipjbrQOyi8KgmEe3bbvM81KCddJC5/o53kP3Lmtk6phVHHM4rer5iIsM8f t5axBo0kZw1bJAy05qW0dagrgL7vhFzdJhzWrhkF0F1utv1+YbLQYLOf+WW+gJ349WR0 JZOLoXDLDJp+JHL4GbZnJxoeQuXxIuOqiMv3e7rDS979bt8SV3RZ31B8nA6QxAIPM4iQ TpQKOyC7DZMnC+YaI22Qret5E8yhb6ZAu2q5N4K9TRTeg95xOJIZgHhRKBL7Zk7HnrSJ 7CSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784841575; x=1785446375; 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=fQjTCejnaetJLhDqt1+sDQ0hrPqRJas8lq1vtNxVpyM=; b=PV/OHwARfcacIZH1pqyQFW5EeVdRy/SJjFD0cXGGffUXLCnIbps3pV1+H5lEOGJYzH NjS9JS8VXIpqcsaZAig0LQzmlrBhF3wXqreLF9TuXoM6282s9gCxq5fUadwa+WaXewMo vXoc98NSruPxoPnFsXWchXFUG0WZTgIbd5PcXbF31eByOlJUu/Oy02z4O42II/vxGeaI oMMiMs8lcGbObvS9Y92xcjxjlzk2vxAxhmI5chzIFHWneKTr4tpIcdBIOHcFtRUngoEX 3I3CfrdNVcxcfu5QcmjpG9pO+/CTTlvObB+bV7jdZvf/Z0DuA+JXGY71v/M5koX/l6Bs pY3A== X-Gm-Message-State: AOJu0YzIIzK8kebIq49l/Z6z+9/2JUKKS8ZvG9e8kkXWdKBCGLVwXLIG D1BDNNG4qqShuhshoGKgXoKZsWb8skK85H3Tbt5QhS2J7yF/iEFJadtZujddHg== X-Gm-Gg: AR+sD12u9PvFGCQLr4KeCOE9p6gZcy2bED3SOCHwbcFDE4D2hsPPd7L48E75Ypbkjvw rR/zlTFZNy7c/8fZu4IPg5YFjJkH2iDTmzVCdVWYkpk1b09oqTozdaBN6K2FfJBPRykzPhIiKSq SyzbrrCXpN3vKtGytUO6snJ7eQEuUn6uNOzykvonLWw8dThpTavPi2qdsw416JiH018wS+FALq5 dRu7PUF1kQFjZykRJwPykY1GM7lHXU9OnPzb7hdT9j3v6CCI/+H90cz+ufsMTs13FXs9CX2ntHv 2PuVebdVEEwdVZvr6w6bKoQXaWP1+4bsPf3YKG/BP5UGklfvnx9l/ZD5QZx8dMMtTSg/TGJ9vmb Jr36ZHM967JNOpIgf5ucVfjRVYcgXKP68X2ycekvSLJw3M/0RaLuJEEtVY0/q33XaWQv+AgSabl dmRneYYg== X-Received: by 2002:a05:6830:6106:b0:7e9:ea18:d1e3 with SMTP id 46e09a7af769-7ee43fd863bmr2638163a34.29.1784841574650; Thu, 23 Jul 2026 14:19:34 -0700 (PDT) Received: from [127.0.0.1] ([52.165.251.167]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ee2a0b3ee5sm4403324a34.24.2026.07.23.14.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2026 14:19:33 -0700 (PDT) Message-Id: <3850fb33ffbc585c68d59861c6e943e0dddf9cee.1784841567.git.gitgitgadget@gmail.com> In-Reply-To: References: From: "=?UTF-8?q?Jean-No=C3=ABl=20Avila?= via GitGitGadget" Date: Thu, 23 Jul 2026 21:19:24 +0000 Subject: [PATCH v2 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 | 289 ++++++++++++++-------------- 2 files changed, 148 insertions(+), 149 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..191f64b77d 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[=