summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-01-22 20:27:52 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-23 10:34:49 -0800
commit44b96ecaa84b1de72a57e27143bf9aca75f251b9 (patch)
tree42c8a7174bd085cc0869d7ef3192633a4d66ad89 /builtin
parentReword repack documentation to no longer state it's a script (diff)
downloadtgif-44b96ecaa84b1de72a57e27143bf9aca75f251b9.tar.xz
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>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repack.c b/builtin/repack.c
index a0ff5c704f..512a53afd8 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)