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 31dab52 commit 3531d2fCopy full SHA for 3531d2f
scalar.c
@@ -712,6 +712,7 @@ static int init_shared_object_cache(const char *url,
712
713
static int cmd_clone(int argc, const char **argv)
714
{
715
+ int dummy = 0;
716
const char *branch = NULL;
717
char *branch_to_free = NULL;
718
int full_clone = 0, single_branch = 0, show_progress = isatty(2);
@@ -738,6 +739,8 @@ static int cmd_clone(int argc, const char **argv)
738
739
OPT_STRING(0, "local-cache-path", &local_cache_root,
740
N_("<path>"),
741
N_("override the path for the local Scalar cache")),
742
+ OPT_HIDDEN_BOOL(0, "no-fetch-commits-and-trees",
743
+ &dummy, N_("no longer used")),
744
OPT_END(),
745
};
746
const char * const clone_usage[] = {
0 commit comments