diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:24 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:25 -0800 |
commit | 5fda343321f36384892061b21dcbe1d477145d2c (patch) | |
tree | 3bc2ed0d898f0c4768529f5ecc9f5ec58dee9e49 /Documentation/config/pack.txt | |
parent | Merge branch 'tb/test-lint-sed-options' (diff) | |
parent | pack-objects: create GIT_TEST_PACK_SPARSE (diff) | |
download | tgif-5fda343321f36384892061b21dcbe1d477145d2c.tar.xz |
Merge branch 'ds/push-sparse-tree-walk'
"git pack-objects" learned another algorithm to compute the set of
objects to send, that trades the resulting packfile off to save
traversal cost to favor small pushes.
* ds/push-sparse-tree-walk:
pack-objects: create GIT_TEST_PACK_SPARSE
pack-objects: create pack.useSparse setting
revision: implement sparse algorithm
list-objects: consume sparse tree walk
revision: add mark_tree_uninteresting_sparse
Diffstat (limited to 'Documentation/config/pack.txt')
-rw-r--r-- | Documentation/config/pack.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/config/pack.txt b/Documentation/config/pack.txt index edac75c83f..425c73aa52 100644 --- a/Documentation/config/pack.txt +++ b/Documentation/config/pack.txt @@ -105,6 +105,15 @@ pack.useBitmaps:: true. You should not generally need to turn this off unless you are debugging pack bitmaps. +pack.useSparse:: + When true, git will default to using the '--sparse' option in + 'git pack-objects' when the '--revs' option is present. This + algorithm only walks trees that appear in paths that introduce new + objects. This can have significant performance benefits when + computing a pack to send a small change. However, it is possible + that extra objects are added to the pack-file if the included + commits contain certain types of direct renames. + pack.writeBitmaps (deprecated):: This is a deprecated synonym for `repack.writeBitmaps`. |