From: "Knut Harald Ryager via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Knut Harald Ryager <e-k-nut@hotmail.com>,
Knut Harald Ryager <e-k-nut@hotmail.com>
Subject: [PATCH v3] docs: remove stray bracket from git-clone synopsis
Date: Mon, 11 Aug 2025 22:04:32 +0000 [thread overview]
Message-ID: <pull.2023.v3.git.git.1754949872593.gitgitgadget@gmail.com> (raw)
In-Reply-To: <pull.2023.v2.git.git.1754861423787.gitgitgadget@gmail.com>
From: Knut Harald Ryager <e-k-nut@hotmail.com>
Remove the extra and incorrect closing bracket, so that the line reads:
[--filter=<filter> [--also-filter-submodules]]
instead of
[--filter=<filter>] [--also-filter-submodules]]
Note: Both filter options were grouped when --also-filter-submodules
was added by commit f05da2b4. The extra bracket was added
later by commit 76880f05.
Signed-off-by: Knut Harald Ryager <e-k-nut@hotmail.com>
---
Remove excess right bracket from git-clone docs
cc: "Kristoffer Haugsbakk" code@khaugsbakk.name
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2023%2FKnutRyager%2Fmaster-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2023/KnutRyager/master-v3
Pull-Request: https://github.com/git/git/pull/2023
Range-diff vs v2:
1: bb158425b8a ! 1: c1a167a16fd Remove the extra and incorrect closing bracket, so that the line reads:
@@ Metadata
Author: Knut Harald Ryager <e-k-nut@hotmail.com>
## Commit message ##
+ docs: remove stray bracket from git-clone synopsis
+
Remove the extra and incorrect closing bracket, so that the line reads:
[--filter=<filter> [--also-filter-submodules]]
@@ Commit message
[--filter=<filter>] [--also-filter-submodules]]
+ Note: Both filter options were grouped when --also-filter-submodules
+ was added by commit f05da2b4. The extra bracket was added
+ later by commit 76880f05.
+
Signed-off-by: Knut Harald Ryager <e-k-nut@hotmail.com>
## Documentation/git-clone.adoc ##
Documentation/git-clone.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-clone.adoc b/Documentation/git-clone.adoc
index 222d558290e..d829206d1b5 100644
--- a/Documentation/git-clone.adoc
+++ b/Documentation/git-clone.adoc
@@ -16,7 +16,7 @@ git clone [--template=<template-directory>]
[--depth <depth>] [--[no-]single-branch] [--[no-]tags]
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
[--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]
- [--filter=<filter-spec>] [--also-filter-submodules]] [--] <repository>
+ [--filter=<filter-spec> [--also-filter-submodules]] [--] <repository>
[<directory>]
DESCRIPTION
base-commit: e813a0200a7121b97fec535f0d0b460b0a33356c
--
gitgitgadget
next prev parent reply other threads:[~2025-08-11 22:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-31 14:46 [PATCH] docs: remove stray bracket from git-clone synopsis Knut Harald Ryager via GitGitGadget
2025-07-31 19:07 ` Junio C Hamano
2025-08-10 21:30 ` [PATCH v2] Remove the extra and incorrect closing bracket, so that the line reads: Knut Harald Ryager via GitGitGadget
2025-08-11 6:14 ` Kristoffer Haugsbakk
2025-08-11 16:07 ` Junio C Hamano
2025-08-11 22:04 ` Knut Harald Ryager via GitGitGadget [this message]
2025-08-12 15:55 ` [PATCH v3] docs: remove stray bracket from git-clone synopsis Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pull.2023.v3.git.git.1754949872593.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=e-k-nut@hotmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).