Introduce the config variable pack.packSizeLimit
commit2b84b5a874d3281d15aa0b73426b13597cd02520
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 5 Feb 2008 14:25:04 +0000 (5 14:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Feb 2008 07:41:34 +0000 (9 23:41 -0800)
tree8149c482fc0bfcc69eb1f065b2f989ba7ff30742
parent201945eeb3b52400e16bb36bf60c56a849c62f32
Introduce the config variable pack.packSizeLimit

"git pack-objects" has the option --max-pack-size to limit the file
size of the packs to a certain amount of bytes.  On platforms where
the pack file size is limited by filesystem constraints, it is easy
to forget this option, and this option does not exist for "git gc"
to begin with.

So introduce a config variable to set the default maximum, but make
this overrideable by the command line.

Suggested by Tor Arvid Lund.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git-pack-objects.txt
builtin-pack-objects.c
t/t5300-pack-object.sh