Merge branch 'cw/pack-config-doc'

Doc update.

* cw/pack-config-doc:
  doc: mention bigFileThreshold for packing
This commit is contained in:
Junio C Hamano 2021-02-25 16:43:30 -08:00
commit ccf6861b72
2 changed files with 19 additions and 1 deletions

View File

@ -400,6 +400,17 @@ Note that we pick a single island for each regex to go into, using "last
one wins" ordering (which allows repo-specific config to take precedence one wins" ordering (which allows repo-specific config to take precedence
over user-wide config, and so forth). over user-wide config, and so forth).
CONFIGURATION
-------------
Various configuration variables affect packing, see
linkgit:git-config[1] (search for "pack" and "delta").
Notably, delta compression is not used on objects larger than the
`core.bigFileThreshold` configuration variable and on files with the
attribute `delta` set to false.
SEE ALSO SEE ALSO
-------- --------
linkgit:git-rev-list[1] linkgit:git-rev-list[1]

View File

@ -165,9 +165,12 @@ depth is 4095.
Pass the `--delta-islands` option to `git-pack-objects`, see Pass the `--delta-islands` option to `git-pack-objects`, see
linkgit:git-pack-objects[1]. linkgit:git-pack-objects[1].
Configuration CONFIGURATION
------------- -------------
Various configuration variables affect packing, see
linkgit:git-config[1] (search for "pack" and "delta").
By default, the command passes `--delta-base-offset` option to By default, the command passes `--delta-base-offset` option to
'git pack-objects'; this typically results in slightly smaller packs, 'git pack-objects'; this typically results in slightly smaller packs,
but the generated packs are incompatible with versions of Git older than but the generated packs are incompatible with versions of Git older than
@ -178,6 +181,10 @@ need to set the configuration variable `repack.UseDeltaBaseOffset` to
is unaffected by this option as the conversion is performed on the fly is unaffected by this option as the conversion is performed on the fly
as needed in that case. as needed in that case.
Delta compression is not used on objects larger than the
`core.bigFileThreshold` configuration variable and on files with the
attribute `delta` set to false.
SEE ALSO SEE ALSO
-------- --------
linkgit:git-pack-objects[1] linkgit:git-pack-objects[1]