Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 44b96ec

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 35c1417 commit 44b96ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/repack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
191191
if (depth)
192192
argv_array_pushf(&cmd_args, "--depth=%u", depth);
193193
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);
195195
if (no_reuse_delta)
196196
argv_array_pushf(&cmd_args, "--no-reuse-delta");
197197
if (no_reuse_object)

0 commit comments

Comments
 (0)