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

Re: [PATCH] submodule: deprecate --recurse-submodules=""

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 23, 2023, 20:26 UTC
Message-ID
<xmqqa5uhfqu6.fsf@gitster.g>
In-Reply-To
<ZOZf4/DYOKqQLjR+@nand.local>
Taylor Blau <me@ttaylorr.com> writes:
Show 7 quoted lines
> So here we'd be doing the equivalent of
>
>     *v = RECURSE_SUBMODULES_OFF;
>
> when trying to parse `--recurse-submodules=""`. Should this advice
> instead say "[...] Use --no-recurse-submodules without an argument,
> which does the same thing"?
Sounds right.  So there is nothing to change here, I guess.

If --recurse-submodules="" does something people do not expect to happen, an warning might be warranted, but I somehow do not think that is the case here. If we are not hurting anybody by accepting that (possibly unusual) form, I do not think we would want to add an extra warning, either.

Thanks.
Previous: Taylor Blau
Message 5 of 5 in “submodule: deprecate --recurse-submodules=""”
  1. submodule: deprecate --recurse-submodules=""Alex Henrie, Aug 23, 2023
  2. Taylor BlauAug 23, 2023
  3. Alex HenrieAug 23, 2023
  4. Taylor BlauAug 23, 2023
  5. Junio C HamanoAug 23, 2023

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.