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

Re: [PATCHv1] completion: add option '--recurse-submodules' to 'git clone'

From
Stefan Beller <sbeller@google.com>
Date
Jul 27, 2016, 17:41 UTC
Message-ID
<CAGZ79ka0kvr9RAkGHbgrZ7fery8436dH8Nu4bwG0t3K5FprgKA@mail.gmail.com>
In-Reply-To
<xmqqoa5jvven.fsf@gitster.mtv.corp.google.com>
On Wed, Jul 27, 2016 at 10:32 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>>> I noticed --recurse-submodules was missing from the bash completion. This adds
>>> it. I went for '--recurse-submodules' instead of '--recursive' as I seem to
>>> recall the former being agreed upon as the better (or least ambiguous) of the
>>> two terms.
>>
>> Yup, that position is consistent with what 3446a54c (clone: fixup
>> recurse_submodules option, 2011-02-11) gave us.
>
> Silly me. The blame actually goes down to ccdd3da6 (clone: Add the
> --recurse-submodules option as alias for --recursive, 2010-11-04),
> but the conclusion is the same.
>
>> Perhaps we should think about deprecating "--recursive"?  I dunno.
>
> Anyway, I'll apply the "addition to the completion" patch.
>
> Thanks.
Thanks for this patch!
Note: if we ever decide to resurrect sb/submodule-default-path,
we run into a merge conflict. The reasoning for using
"--recurse-submodules" instead of a plain "--recurse" makes sense
as well, so that merge conflict will be resolved in favor of this patch.

Thanks, Stefan

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 6 in “[PATCHv1] completion: add option '--recurse-submodules' to 'git clone'”
  1. Chris PackhamJul 27, 2016
  2. Junio C HamanoJul 27, 2016
  3. Junio C HamanoJul 27, 2016
  4. Stefan BellerJul 27, 2016
  5. Junio C HamanoJul 28, 2016
  6. Stefan BellerJul 29, 2016

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.