Skip to content

Commit 741f36c

Browse files
KnutRyagergitster
authored andcommitted
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 f05da2b (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 76880f0 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a1cf0cf commit 741f36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-clone.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ git clone [--template=<template-directory>]
1616
[--depth <depth>] [--[no-]single-branch] [--no-tags]
1717
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
1818
[--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]
19-
[--filter=<filter-spec>] [--also-filter-submodules]] [--] <repository>
19+
[--filter=<filter-spec> [--also-filter-submodules]] [--] <repository>
2020
[<directory>]
2121

2222
DESCRIPTION

0 commit comments

Comments
 (0)