Merge branch 'km/test-mailinfo-b-failure' into maint
[gitweb.git] / builtin / clone.c
index de85b85254e49ba0211ea6476179fc6d4c774ca9..a6ae7d6180ebee6e199b40b4e0c720d4049b68e9 100644 (file)
@@ -773,7 +773,9 @@ static int checkout(int submodule_progress)
 
 static int write_one_config(const char *key, const char *value, void *data)
 {
-       return git_config_set_multivar_gently(key, value ? value : "true", "^$", 0);
+       return git_config_set_multivar_gently(key,
+                                             value ? value : "true",
+                                             CONFIG_REGEX_NONE, 0);
 }
 
 static void write_config(struct string_list *config)