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

Re: [RFC PATCH] clone: Deprecate the --recursive option in favor of --recurse-submodules

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 3, 2010, 22:13 UTC
Message-ID
<m3aalqgion.fsf@localhost.localdomain>
In-Reply-To
<4CD1ACF7.6040108@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
Show 9 quoted lines
> @@ -65,6 +65,8 @@ static struct option builtin_clone_options[] = {
>  	OPT_BOOLEAN('s', "shared", &option_shared,
>  		    "setup as shared repository"),
>  	OPT_BOOLEAN(0, "recursive", &option_recursive,
> +		    "initialize submodules in the clone (deprecated)"),
> +	OPT_BOOLEAN(0, "recurse_submodules", &option_recurse_submodules,
>  		    "initialize submodules in the clone"),
>  	OPT_STRING(0, "template", &option_template, "path",
>  		   "path the template repository"),
Shouldn't we use PARSE_OPT_HIDDEN?  Or should it be left for later?
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Jens LehmannNext: Sverre Rabbelier
Message 2 of 5 in “clone: Deprecate the --recursive option in favor of --recurse-submodules”
  1. clone: Deprecate the --recursive option in favor of --recurse-submodulesJens Lehmann, Nov 3, 2010
  2. Jakub NarebskiNov 3, 2010
  3. Sverre RabbelierNov 3, 2010
  4. Junio C HamanoNov 3, 2010
  5. clone: Add the --recurse-submodules option as alias for --recursiveJens Lehmann, Nov 4, 2010

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.