aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKnut Harald Ryager <e-k-nut@hotmail.com>2025-08-11 22:04:32 +0000
committerJunio C Hamano <gitster@pobox.com>2025-08-12 08:57:57 -0700
commit741f36c7d9c87648cc4ecb68eb9156fa50769e56 (patch)
tree5bdfc16c30439872f9263104fa5c0374da0781ed
parentMerge branch 'maint-2.47' into maint-2.48 (diff)
downloadgit-741f36c7d9c87648cc4ecb68eb9156fa50769e56.tar.gz
git-741f36c7d9c87648cc4ecb68eb9156fa50769e56.zip
docs: remove stray bracket from git-clone synopsis
The synopsis section has an extra closing bracket, like this: [--filter=<filter>] [--also-filter-submodules]] The extra one is not the one at the end of this line; it is the one after "...=<filter>". The "--also-filter-submodules" option was added by f05da2b4 (clone, submodule: pass partial clone filters to submodules, 2022-02-04). Because it makes sense only when used with the "--filter=<filter>" option, these two options are enclosed in a pair of brackets. The extra one was added by 76880f05 (doc: git-clone: apply new documentation formatting guidelines, 2024-03-29) by mistake. Remove the extra and incorrect closing bracket, so that the line reads: [--filter=<filter> [--also-filter-submodules]] Signed-off-by: Knut Harald Ryager <e-k-nut@hotmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r--Documentation/git-clone.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index de8d8f5893..c0d8e1e897 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -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