Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
repack: fix typo in max-pack-size option
author
Jeff King
<peff@peff.net>
Thu, 23 Jan 2014 01:27:52 +0000
(20:27 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 23 Jan 2014 18:34:49 +0000
(10:34 -0800)
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>
builtin/repack.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
35c1417
)
diff --git
a/builtin/repack.c
b/builtin/repack.c
index a0ff5c704f4e21c5021091aa7335e00959993470..512a53afd854961a5af23b5e696990992419def4 100644
(file)
--- 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)