diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index a27c2f6277cd55951cec5d9b5b207df426ed9ff0..9cc8a8451d21840b315d1355207293a1b0bcbf2c 100644 (file)
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
static int pack_compression_seen;
static unsigned long delta_cache_size = 0;
-static unsigned long max_delta_cache_size = 0;
+static unsigned long max_delta_cache_size = 256 * 1024 * 1024;
static unsigned long cache_max_small_delta_size = 1000;
static unsigned long window_memory_limit = 0;
die("bad %s", arg);
continue;
}
+ if (!strcmp(arg, "--keep-true-parents")) {
+ grafts_replace_parents = 0;
+ continue;
+ }
usage(pack_usage);
}