Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:53

Jeff King [off-list ref] writes:
On Fri, Feb 20, 2015 at 11:10:22AM -0800, Matt Whiteley wrote:
quoted
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".
For that matter, I am not sure why we want to add this synonym in
the first place.

http://www.merriam-webster.com/dictionary/dissociate

    : to end your relationship with or connection to someone or
    something : to separate (yourself) from someone or something

which is exactly what I wanted the option to achieve.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help