config: avoid a funny sentinel value "a^"
[gitweb.git] / builtin / config.c
index 8224699663bf91e8b7c8732b41a6a939a21669c4..bf1aa6b2e4e61784f3d6af3bf1ba2eaafbfbca3e 100644 (file)
@@ -599,7 +599,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, "a^", 0);
+                                                      argv[0], value,
+                                                      CONFIG_REGEX_NONE, 0);
        }
        else if (actions == ACTION_REPLACE_ALL) {
                check_write();