Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mh/fast-import-raise-default-depth'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 22 Jun 2017 21:15:23 +0000
(14:15 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 22 Jun 2017 21:15:23 +0000
(14:15 -0700)
"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
1
2
fast-import.c
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
compact
(merge:
56585a2
4f2220e
)
diff --combined
fast-import.c
index 9a22fc92c0d029cf2a1362ea846f75f59978e870,05c73858b00b21a3ce2887c0573abc5d186e796a..fc2b22033b0f5748adbc173b6099fa7347bb9088
---
1
/
fast-import.c
---
2
/
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 =
1
0;
+ static unsigned long max_depth =
5
0;
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)