diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2010-02-03 22:48:28 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-03 20:39:56 -0800 |
commit | 07cf0f2407709e3764ea989696b513ec32613504 (patch) | |
tree | 3eab6f3be18ea1e04abbf8c34e706f021b78c28f /RelNotes | |
parent | a2430dde8ceaaaabf05937438249397b883ca77a (diff) | |
download | git-07cf0f2407709e3764ea989696b513ec32613504.tar.gz git-07cf0f2407709e3764ea989696b513ec32613504.tar.xz |
make --max-pack-size argument to 'git pack-object' count in bytes
The value passed to --max-pack-size used to count in MiB which was
inconsistent with the corresponding configuration variable as well as
other command arguments which are defined to count in bytes with an
optional unit suffix. This brings --max-pack-size in line with the
rest of Git.
Also, in order not to cause havoc with people used to the previous
megabyte scale, and because this is a sane thing to do anyway, a
minimum size of 1 MiB is enforced to avoid an explosion of pack files.
Adjust and extend test suite accordingly.
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'RelNotes')
0 files changed, 0 insertions, 0 deletions