path: root/Documentation/git-pack-objects.txt
diff options
authorJohannes Schindelin <>2008-02-05 14:25:04 (GMT)
committerJunio C Hamano <>2008-02-10 07:41:34 (GMT)
commit2b84b5a874d3281d15aa0b73426b13597cd02520 (patch)
tree8149c482fc0bfcc69eb1f065b2f989ba7ff30742 /Documentation/git-pack-objects.txt
parent201945eeb3b52400e16bb36bf60c56a849c62f32 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 74cc7c1..8353be1 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -99,7 +99,8 @@ base-name::
Maximum size of each output packfile, expressed in MiB.
If specified, multiple packfiles may be created.
- The default is unlimited.
+ The default is unlimited, unless the config variable
+ `pack.packSizeLimit` is set.
This flag causes an object already in a pack ignored