We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
clone --no-fetch-commits-and-trees
1 parent 51a0743 commit a077b6fCopy full SHA for a077b6f
1 file changed
scalar.c
@@ -723,6 +723,7 @@ static int init_shared_object_cache(const char *url,
723
724
static int cmd_clone(int argc, const char **argv)
725
{
726
+ int dummy = 0;
727
const char *branch = NULL;
728
char *branch_to_free = NULL;
729
int full_clone = 0, single_branch = 0, show_progress = isatty(2);
@@ -749,6 +750,8 @@ static int cmd_clone(int argc, const char **argv)
749
750
OPT_STRING(0, "local-cache-path", &local_cache_root,
751
N_("<path>"),
752
N_("override the path for the local Scalar cache")),
753
+ OPT_HIDDEN_BOOL(0, "no-fetch-commits-and-trees",
754
+ &dummy, N_("no longer used")),
755
OPT_END(),
756
};
757
const char * const clone_usage[] = {
0 commit comments