From 44b96ecaa84b1de72a57e27143bf9aca75f251b9 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Wed, 22 Jan 2014 20:27:52 -0500 Subject: 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 Signed-off-by: Junio C Hamano diff --git a/builtin/repack.c b/builtin/repack.c index a0ff5c7..512a53a 100644 --- a/builtin/repack.c +++ b/builtin/repack.c @@ -191,7 +191,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix) if (depth) argv_array_pushf(&cmd_args, "--depth=%u", depth); 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) argv_array_pushf(&cmd_args, "--no-reuse-delta"); if (no_reuse_object) -- cgit v0.10.2-6-g49f6