We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clone --no-fetch-commits-and-trees
1 parent 0202b52 commit 4562c36Copy full SHA for 4562c36
scalar.c
@@ -691,6 +691,7 @@ static int init_shared_object_cache(const char *url,
691
692
static int cmd_clone(int argc, const char **argv)
693
{
694
+ int dummy = 0;
695
const char *branch = NULL;
696
char *branch_to_free = NULL;
697
int full_clone = 0, single_branch = 0, show_progress = isatty(2);
@@ -715,6 +716,8 @@ static int cmd_clone(int argc, const char **argv)
715
716
OPT_STRING(0, "local-cache-path", &local_cache_root,
717
N_("<path>"),
718
N_("override the path for the local Scalar cache")),
719
+ OPT_HIDDEN_BOOL(0, "no-fetch-commits-and-trees",
720
+ &dummy, N_("no longer used")),
721
OPT_END(),
722
};
723
const char * const clone_usage[] = {
0 commit comments