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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 20, 2015 at 11:10:22AM -0800, Matt Whiteley wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]