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

Re: [PATCH] git-clone.txt: document -4 and -6

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 1, 2023, 06:06 UTC
Message-ID
<xmqq1qivd8d0.fsf@gitster.g>
In-Reply-To
<20230527123849.5990-1-jwilk@jwilk.net>
Jakub Wilk <jwilk@jwilk.net> writes:
Show 7 quoted lines
> These options were added in c915f11eb4 ("connect & http: support -4 and
> -6 switches for remote operations").
>
> Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
> ---
>  Documentation/git-clone.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)

The patch is not _wrong_ per-se, but there are other options that are common among the "fetch" family of commands. I counted at least these should be shared between "fetch" and "clone", by splitting them out of "fetch-options.txt" into a new file, and including that new file from "fetch-options.txt" and "git-clone.txt". Those marked with (?) are described in different phrasing between "clone" and "fetch", and may fall into the "let's keep them separate, because they mean different things" category (later):

 * --jobs
 * --upload-pack
 * --quiet (?)
 * --verbose (?)
 * --progress
 * --server-option
 * --ipv[46]

Note that these happen to share the same name, but to "clone" and "fetch" they different things, so leaving them separate is the right thing to do.

 * --no-tags
 * --recurse-submodules
Thanks.
Previous: Jakub WilkNext: Jakub Wilk
Message 2 of 7 in “git-clone.txt: document -4 and -6”
  1. git-clone.txt: document -4 and -6Jakub Wilk, May 27, 2023
  2. Junio C HamanoJun 1, 2023
  3. Jakub WilkJan 2, 2024
  4. Taylor BlauJan 2, 2024
  5. Taylor BlauJan 2, 2024
  6. Junio C HamanoJan 2, 2024
  7. Taylor BlauJan 2, 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.