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>
Jeff King committed
Jan 22, 2014 at 20:27 UTC
44b96ecaa84b1de72a57e27143bf9aca75f251b9
1 file changed
+1
-1
builtin/repack.c
+1
-1
@@ -191,7 +191,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
191
if (depth)
192
argv_array_pushf(&cmd_args, "--depth=%u", depth);
193
if (max_pack_size)
194
- argv_array_pushf(&cmd_args, "--max_pack_size=%u", max_pack_size);
194
+ argv_array_pushf(&cmd_args, "--max-pack-size=%u", max_pack_size);
195
if (no_reuse_delta)
196
argv_array_pushf(&cmd_args, "--no-reuse-delta");
197
if (no_reuse_object)