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

Documentation Bug

From
CKCory Kramer <corykramer@google.com>
Date
Jul 19, 2024, 16:09 UTC
Message-ID
<CAJ7O7F7Zxd-FUbdJh-zxr1FOrUmZQuwx4CHLbQ-ppbkSN79Z-Q@mail.gmail.com>

In the docs for git-clone the brackets become mismatched for any options that have a [no-] counterpart. https://git-scm.com/docs/git-clone

These include: --[no-]single-branch --[no-]shallow-submodules --[no-]reject-shallow --[no-]remote-submodules

For example the first option will render as "single-branch]".
Source: https://github.com/git/git/blob/master/Documentation/git-clone.txt#L12-L20
Next: Junio C Hamano
Message 1 of 3 in “Documentation Bug”
  1. Cory KramerJul 19, 2024
  2. Junio C HamanoJul 19, 2024
  3. Jean-Noël AVILAJul 20, 2024

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.