]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule-config.c
Start the 2.46 cycle
[thirdparty/git.git] / submodule-config.c
index 54130f6a38572b613d4b7ee8ae1cf3bc6035055d..11428b4adad515a9e0ee495c16e1af5636dc6546 100644 (file)
@@ -978,7 +978,7 @@ int config_set_in_gitmodules_file_gently(const char *key, const char *value)
 {
        int ret;
 
-       ret = git_config_set_in_file_gently(GITMODULES_FILE, key, value);
+       ret = git_config_set_in_file_gently(GITMODULES_FILE, key, NULL, value);
        if (ret < 0)
                /* Maybe the user already did that, don't error out here */
                warning(_("Could not update .gitmodules entry %s"), key);