clone,fetch: explain the shallow-clone option a little more clearly
"deepen by excluding" does not make sense because excluding a revision does not deepen a repository; it makes the repository more shallow. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Alex Henrie committed
Dec 4, 2016 at 15:03 UTC
6d8738653297e839ae59ff3284c271681cc14396
2 files changed
+2
-2
builtin/clone.c
+1
-1
@@ -99,7 +99,7 @@ static struct option builtin_clone_options[] = {
99
OPT_STRING(0, "shallow-since", &option_since, N_("time"),
100
N_("create a shallow clone since a specific time")),
101
OPT_STRING_LIST(0, "shallow-exclude", &option_not, N_("revision"),
102
- N_("deepen history of shallow clone by excluding rev")),
102
+ N_("deepen history of shallow clone, excluding rev")),
103
OPT_BOOL(0, "single-branch", &option_single_branch,
104
N_("clone only one branch, HEAD or --branch")),
105
OPT_BOOL(0, "shallow-submodules", &option_shallow_submodules,
builtin/fetch.c
+1
-1
@@ -122,7 +122,7 @@ static struct option builtin_fetch_options[] = {
122
OPT_STRING(0, "shallow-since", &deepen_since, N_("time"),
123
N_("deepen history of shallow repository based on time")),
124
OPT_STRING_LIST(0, "shallow-exclude", &deepen_not, N_("revision"),
125
- N_("deepen history of shallow clone by excluding rev")),
125
+ N_("deepen history of shallow clone, excluding rev")),
126
OPT_INTEGER(0, "deepen", &deepen_relative,
127
N_("deepen history of shallow clone")),
128
{ OPTION_SET_INT, 0, "unshallow", &unshallow, NULL,