From: Carlos Martín Nieto Date: Wed, 21 Dec 2011 18:14:09 +0000 (+0000) Subject: clone: the -o option has nothing to do with X-Git-Tag: v1.7.8.1~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a31275d6ffd35bc1c269b7136f4031abe2abee70;p=git.git clone: the -o option has nothing to do with It is to give an alternate instead of "origin" to the remote we are cloning from. Signed-off-by: Carlos Martín Nieto Signed-off-by: Junio C Hamano --- diff --git a/builtin/clone.c b/builtin/clone.c index efe8b6cce..86db95473 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -84,8 +84,8 @@ static struct option builtin_clone_options[] = { "directory from which templates will be used"), OPT_CALLBACK(0 , "reference", &option_reference, "repo", "reference repository", &opt_parse_reference), - OPT_STRING('o', "origin", &option_origin, "branch", - "use instead of 'origin' to track upstream"), + OPT_STRING('o', "origin", &option_origin, "name", + "use instead of 'origin' to track upstream"), OPT_STRING('b', "branch", &option_branch, "branch", "checkout instead of the remote's HEAD"), OPT_STRING('u', "upload-pack", &option_upload_pack, "path",