diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-04 20:10:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-05 00:12:17 +0100 |
commit | 4d0cc2243778b38c3759c6a08f4f1ed64155a070 (patch) | |
tree | a9f28cfa907d1b0a19c0661ef4562dc4b5036418 /Documentation/RelNotes-1.7.0.txt | |
parent | update git-repack documentation wrt repack.UseDeltaBaseOffset (diff) | |
download | git-4d0cc2243778b38c3759c6a08f4f1ed64155a070.tar.xz git-4d0cc2243778b38c3759c6a08f4f1ed64155a070.zip |
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 '')
-rw-r--r-- | Documentation/RelNotes-1.7.0.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/RelNotes-1.7.0.txt b/Documentation/RelNotes-1.7.0.txt index e66945cb68..255666f15d 100644 --- a/Documentation/RelNotes-1.7.0.txt +++ b/Documentation/RelNotes-1.7.0.txt @@ -46,10 +46,10 @@ Notes on behaviour change environment, and diff.*.command and diff.*.textconv in the config file. - * The --max-pack-size argument to 'git repack' and 'git pack-objects' was - assuming the provided size to be expressed in MiB, unlike the - corresponding config variable and other similar options accepting a size - value. It is now expecting a size expressed in bytes, with a possible + * The --max-pack-size argument to 'git repack', 'git pack-objects', and + 'git fast-import' was assuming the provided size to be expressed in MiB, + unlike the corresponding config variable and other similar options accepting + a size value. It is now expecting a size expressed in bytes, with a possible unit suffix of 'k', 'm', or 'g'. Updates since v1.6.6 |