Merge branch 'jk/fsck-exit-code-fix'
[gitweb.git] / builtin / config.c
index aba71355f864202932e02bddb804d2fa3c0783d8..37305e93e937ade83072501df6b5d07033ee89d3 100644 (file)
@@ -611,7 +611,8 @@ int cmd_config(int argc, const char **argv, const char *prefix)
                check_argc(argc, 2, 2);
                value = normalize_value(argv[0], argv[1]);
                return git_config_set_multivar_in_file(given_config_source.file,
-                                                      argv[0], value, "^$", 0);
+                                                      argv[0], value,
+                                                      CONFIG_REGEX_NONE, 0);
        }
        else if (actions == ACTION_REPLACE_ALL) {
                check_write();