Skip to content

Commit

Permalink
scalar: parse clone --no-fetch-commits-and-trees for backwards comp…
Browse files Browse the repository at this point in the history
…atibility

This option does not do anything anymore, though.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Nov 14, 2023
1 parent 8763c3f commit b23fa52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scalar.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ static int init_shared_object_cache(const char *url,

static int cmd_clone(int argc, const char **argv)
{
int dummy = 0;
const char *branch = NULL;
int full_clone = 0, single_branch = 0, show_progress = isatty(2);
int src = 1;
Expand All @@ -701,6 +702,8 @@ static int cmd_clone(int argc, const char **argv)
OPT_STRING(0, "local-cache-path", &local_cache_root,
N_("<path>"),
N_("override the path for the local Scalar cache")),
OPT_HIDDEN_BOOL(0, "no-fetch-commits-and-trees",
&dummy, N_("no longer used")),
OPT_END(),
};
const char * const clone_usage[] = {
Expand Down

0 comments on commit b23fa52

Please sign in to comment.