From: Knut Harald Ryager Date: Mon, 11 Aug 2025 22:04:32 +0000 (+0000) Subject: docs: remove stray bracket from git-clone synopsis X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=741f36c7d9c87648cc4ecb68eb9156fa50769e56;p=thirdparty%2Fgit.git docs: remove stray bracket from git-clone synopsis The synopsis section has an extra closing bracket, like this: [--filter=] [--also-filter-submodules]] The extra one is not the one at the end of this line; it is the one after "...=". 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=" 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= [--also-filter-submodules]] Signed-off-by: Knut Harald Ryager Signed-off-by: Junio C Hamano --- 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=] [--depth ] [--[no-]single-branch] [--no-tags] [--recurse-submodules[=]] [--[no-]shallow-submodules] [--[no-]remote-submodules] [--jobs ] [--sparse] [--[no-]reject-shallow] - [--filter=] [--also-filter-submodules]] [--] + [--filter= [--also-filter-submodules]] [--] [] DESCRIPTION