]> git.ipfire.org Git - thirdparty/git.git/blobdiff - remote.c
Add the configuration option skipFetchAll
[thirdparty/git.git] / remote.c
index 73d33f2584b061085fcaa0958c26b1c3d4665904..beaf9fb5b2ac37db11f11175ec89a0df5fba425b 100644 (file)
--- a/remote.c
+++ b/remote.c
@@ -396,7 +396,8 @@ static int handle_config(const char *key, const char *value, void *cb)
                remote->mirror = git_config_bool(key, value);
        else if (!strcmp(subkey, ".skipdefaultupdate"))
                remote->skip_default_update = git_config_bool(key, value);
-
+       else if (!strcmp(subkey, ".skipfetchall"))
+               remote->skip_default_update = git_config_bool(key, value);
        else if (!strcmp(subkey, ".url")) {
                const char *v;
                if (git_config_string(&v, key, value))