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 efe17a9 commit 21a375bCopy full SHA for 21a375b
scalar.c
@@ -706,6 +706,7 @@ static int init_shared_object_cache(const char *url,
706
707
static int cmd_clone(int argc, const char **argv)
708
{
709
+ int dummy = 0;
710
const char *branch = NULL;
711
char *branch_to_free = NULL;
712
int full_clone = 0, single_branch = 0, show_progress = isatty(2);
@@ -732,6 +733,8 @@ static int cmd_clone(int argc, const char **argv)
732
733
OPT_STRING(0, "local-cache-path", &local_cache_root,
734
N_("<path>"),
735
N_("override the path for the local Scalar cache")),
736
+ OPT_HIDDEN_BOOL(0, "no-fetch-commits-and-trees",
737
+ &dummy, N_("no longer used")),
738
OPT_END(),
739
};
740
const char * const clone_usage[] = {
0 commit comments