]> git.ipfire.org Git - thirdparty/git.git/blobdiff - remote-curl.c
config.mak.uname: remove unused the NO_R_TO_GCC_LINKER flag
[thirdparty/git.git] / remote-curl.c
index 62b3a45cde26b028fcfe2c242dbd79f6dab25a80..32cc4a0c553b3e6f953be247bd593e07222dd5b5 100644 (file)
@@ -39,8 +39,10 @@ struct options {
                /* One of the SEND_PACK_PUSH_CERT_* constants. */
                push_cert : 2,
                deepen_relative : 1,
+
+               /* see documentation of corresponding flag in fetch-pack.h */
                from_promisor : 1,
-               no_dependents : 1,
+
                atomic : 1,
                object_format : 1;
        const struct git_hash_algo *hash_algo;
@@ -190,9 +192,6 @@ static int set_option(const char *name, const char *value)
        } else if (!strcmp(name, "from-promisor")) {
                options.from_promisor = 1;
                return 0;
-       } else if (!strcmp(name, "no-dependents")) {
-               options.no_dependents = 1;
-               return 0;
        } else if (!strcmp(name, "filter")) {
                options.filter = xstrdup(value);
                return 0;
@@ -1175,8 +1174,6 @@ static int fetch_git(struct discovery *heads,
                strvec_push(&args, "--deepen-relative");
        if (options.from_promisor)
                strvec_push(&args, "--from-promisor");
-       if (options.no_dependents)
-               strvec_push(&args, "--no-dependents");
        if (options.filter)
                strvec_pushf(&args, "--filter=%s", options.filter);
        strvec_push(&args, url.buf);