From: Junio C Hamano Date: Thu, 22 Jun 2017 21:15:23 +0000 (-0700) Subject: Merge branch 'mh/fast-import-raise-default-depth' X-Git-Tag: v2.14.0-rc0~77 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f77149c2fbf4257ce40bed4f6855182650a50226?ds=inline;hp=-c Merge branch 'mh/fast-import-raise-default-depth' "fast-import" uses a default pack chain depth that is consistent with other parts of the system. * mh/fast-import-raise-default-depth: fast-import: increase the default pack depth to 50 --- f77149c2fbf4257ce40bed4f6855182650a50226 diff --combined fast-import.c index 9a22fc92c0,05c73858b0..fc2b22033b --- a/fast-import.c +++ b/fast-import.c @@@ -280,7 -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,7 -3285,9 +3285,7 @@@ static void option_export_pack_edges(co { 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)