git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2] Remove the extra and incorrect closing bracket, so that the line reads:

From
KGKnut Harald Ryager via GitGitGadget <gitgitgadget@gmail.com>
Date
Aug 10, 2025, 21:30 UTC
Message-ID
<pull.2023.v2.git.git.1754861423787.gitgitgadget@gmail.com>
In-Reply-To
<pull.2023.git.git.1753973177262.gitgitgadget@gmail.com>
From: Knut Harald Ryager <e-k-nut@hotmail.com>
    [--filter=<filter> [--also-filter-submodules]]
instead of
    [--filter=<filter>] [--also-filter-submodules]]
Signed-off-by: Knut Harald Ryager <e-k-nut@hotmail.com>
---
    Remove excess right bracket from git-clone docs
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2023%2FKnutRyager%2Fmaster-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2023/KnutRyager/master-v2
Pull-Request: https://github.com/git/git/pull/2023
Range-diff vs v1:
 1:  6bb5c653356 ! 1:  bb158425b8a docs: remove stray bracket from git-clone synopsis
     @@
       ## Metadata ##
     -Author: E-K-n <e-k-nut@hotmail.com>
     +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:
      
     -    The git-clone documentation contained an extra ‘]’ after
     -    `--also-filter-submodules]`.
     +        [--filter=<filter> [--also-filter-submodules]]
      
     -    This patch removes the duplicate ‘]’ so that the line reads:
     +    instead of
      
     -        [--also-filter-submodules] [--] <repository>
     -
     -    instead of:
     -
     -        [--also-filter-submodules]] [--] <repository>
     +        [--filter=<filter>] [--also-filter-submodules]]
      
          Signed-off-by: Knut Harald Ryager <e-k-nut@hotmail.com>
      
     @@ Documentation/git-clone.adoc: git clone [--template=<template-directory>]
       	  [--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>
     ++	  [--filter=<filter-spec> [--also-filter-submodules]] [--] <repository>
       	  [<directory>]
       
       DESCRIPTION
 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
Previous: Junio C HamanoNext: Kristoffer Haugsbakk
Message 3 of 7 in “docs: remove stray bracket from git-clone synopsis”
  1. docs: remove stray bracket from git-clone synopsisKnut Harald Ryager via GitGitGadget, Jul 31, 2025
  2. Junio C HamanoJul 31, 2025
  3. Remove the extra and incorrect closing bracket, so that the line reads:Knut Harald Ryager via GitGitGadget, Aug 10, 2025
  4. Kristoffer HaugsbakkAug 11, 2025
  5. Junio C HamanoAug 11, 2025
  6. docs: remove stray bracket from git-clone synopsisKnut Harald Ryager via GitGitGadget, Aug 11, 2025
  7. Junio C HamanoAug 12, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.