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