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 a378400 commit a99fdddCopy full SHA for a99fddd
scalar.c
@@ -690,6 +690,7 @@ static int init_shared_object_cache(const char *url,
690
691
static int cmd_clone(int argc, const char **argv)
692
{
693
+ int dummy = 0;
694
const char *branch = NULL;
695
char *branch_to_free = NULL;
696
int full_clone = 0, single_branch = 0, show_progress = isatty(2);
@@ -714,6 +715,8 @@ static int cmd_clone(int argc, const char **argv)
714
715
OPT_STRING(0, "local-cache-path", &local_cache_root,
716
N_("<path>"),
717
N_("override the path for the local Scalar cache")),
718
+ OPT_HIDDEN_BOOL(0, "no-fetch-commits-and-trees",
719
+ &dummy, N_("no longer used")),
720
OPT_END(),
721
};
722
const char * const clone_usage[] = {
0 commit comments