diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-04 11:10:44 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-04 15:12:17 -0800 |
commit | 4d0cc2243778b38c3759c6a08f4f1ed64155a070 (patch) | |
tree | a9f28cfa907d1b0a19c0661ef4562dc4b5036418 /contrib/convert-objects | |
parent | 9f17688d93c18bdd0532d2733710dc4d23921282 (diff) | |
download | git-4d0cc2243778b38c3759c6a08f4f1ed64155a070.tar.gz git-4d0cc2243778b38c3759c6a08f4f1ed64155a070.tar.xz |
fast-import: count --max-pack-size in bytes
Similar in spirit to 07cf0f2 (make --max-pack-size argument to 'git
pack-object' count in bytes, 2010-02-03) which made the option by the same
name to pack-objects, this counts the pack size limit in bytes.
In order not to cause havoc with people used to the previous megabyte
scale an integer smaller than 8192 is interpreted in megabytes but the
user gets a warning. Also a minimum size of 1 MiB is enforced to avoid an
explosion of pack files.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'contrib/convert-objects')
0 files changed, 0 insertions, 0 deletions