summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-02-04 11:10:44 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-04 15:12:17 -0800
commit4d0cc2243778b38c3759c6a08f4f1ed64155a070 (patch)
treea9f28cfa907d1b0a19c0661ef4562dc4b5036418 /pretty.c
parentupdate git-repack documentation wrt repack.UseDeltaBaseOffset (diff)
downloadtgif-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 'pretty.c')
0 files changed, 0 insertions, 0 deletions