repack: fix typo in max-pack-size option
When we see "--max-pack-size", we accidentally propagated this to pack-objects as "--max_pack_size", which does not work at all. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
35c141768c
commit
44b96ecaa8
@ -191,7 +191,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
|
|||||||
if (depth)
|
if (depth)
|
||||||
argv_array_pushf(&cmd_args, "--depth=%u", depth);
|
argv_array_pushf(&cmd_args, "--depth=%u", depth);
|
||||||
if (max_pack_size)
|
if (max_pack_size)
|
||||||
argv_array_pushf(&cmd_args, "--max_pack_size=%u", max_pack_size);
|
argv_array_pushf(&cmd_args, "--max-pack-size=%u", max_pack_size);
|
||||||
if (no_reuse_delta)
|
if (no_reuse_delta)
|
||||||
argv_array_pushf(&cmd_args, "--no-reuse-delta");
|
argv_array_pushf(&cmd_args, "--no-reuse-delta");
|
||||||
if (no_reuse_object)
|
if (no_reuse_object)
|
||||||
|
Loading…
Reference in New Issue
Block a user