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

Re: [PATCH 1/2] clone: add disassociate alias to dissociate option

From
Jeff King <peff@peff.net>
Date
Feb 21, 2015, 06:27 UTC
Message-ID
<20150221062754.GC29665@peff.net>
In-Reply-To
<1424459423-11727-2-git-send-email-mattwhiteley@gmail.com>
On Fri, Feb 20, 2015 at 11:10:22AM -0800, Matt Whiteley wrote:
Show 10 quoted lines
> diff --git a/builtin/clone.c b/builtin/clone.c
> index 316c75d..7e193ae 100644
> --- a/builtin/clone.c
> +++ b/builtin/clone.c
> @@ -97,6 +97,8 @@ static struct option builtin_clone_options[] = {
>  		    N_("clone only one branch, HEAD or --branch")),
>  	OPT_BOOL(0, "dissociate", &option_dissociate,
>  		 N_("use --reference only while cloning")),
> +	OPT_BOOL(0, "disassociate", &option_dissociate,
> +		 N_("use --reference only while cloning")),

Should this second one be marked as OPT_HIDDEN? I do not think we need to show both in "git clone --help".

-Peff
Previous: Matt WhiteleyNext: Junio C Hamano
Message 3 of 11 in “--disassociate alias for --dissociate clone option”
  1. --disassociate alias for --dissociate clone optionMatt Whiteley, Feb 20, 2015
  2. 1/2 clone: add disassociate alias to dissociate optionMatt Whiteley, Feb 20, 2015
  3. Jeff KingFeb 21, 2015
  4. Junio C HamanoFeb 21, 2015
  5. Jeff KingFeb 21, 2015
  6. Junio C HamanoFeb 22, 2015
  7. Michael HaggertyFeb 24, 2015
  8. Junio C HamanoFeb 24, 2015
  9. Michael HaggertyFeb 24, 2015
  10. 2/2 clone: Realign lines near disassociate optionMatt Whiteley, Feb 20, 2015
  11. Eric SunshineFeb 20, 2015

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.