builtin/fetch: factor submodule recurse parsing out to submodule config
[gitweb.git] / fast-import.c
index e69d219682e7929b6e8441ba620e708704471ff3..fc2b22033b0f5748adbc173b6099fa7347bb9088 100644 (file)
@@ -280,7 +280,7 @@ struct recent_command {
 };
 
 /* Configured limits on output */
-static unsigned long max_depth = 10;
+static unsigned long max_depth = 50;
 static off_t max_packsize;
 static int unpack_limit = 100;
 static int force_update;
@@ -3285,9 +3285,7 @@ static void option_export_pack_edges(const char *edges)
 {
        if (pack_edges)
                fclose(pack_edges);
-       pack_edges = fopen(edges, "a");
-       if (!pack_edges)
-               die_errno("Cannot open '%s'", edges);
+       pack_edges = xfopen(edges, "a");
 }
 
 static int parse_one_option(const char *option)