summaryrefslogtreecommitdiffstats
path: root/git-pack-objects.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-29 10:30:31 -0700
committerJunio C Hamano <gitster@pobox.com>2020-03-29 10:30:31 -0700
commit929ab9746deaf1c08c5099cb1628e9e814768b85 (patch)
tree263b05d9804c73923c92547af922d0e783f0061c /git-pack-objects.txt
parent1291d1a1ed65a3d56c1c3dae7e3d1770eeba618c (diff)
downloadgit-htmldocs-929ab9746deaf1c08c5099cb1628e9e814768b85.tar.gz
Autogenerated HTML docs for v2.26.0-106-g9fade
Diffstat (limited to 'git-pack-objects.txt')
-rw-r--r--git-pack-objects.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/git-pack-objects.txt b/git-pack-objects.txt
index fecdf2600..eaa2f2a40 100644
--- a/git-pack-objects.txt
+++ b/git-pack-objects.txt
@@ -14,7 +14,7 @@ SYNOPSIS
[--local] [--incremental] [--window=<n>] [--depth=<n>]
[--revs [--unpacked | --all]] [--keep-pack=<pack-name>]
[--stdout [--filter=<filter-spec>] | base-name]
- [--shallow] [--keep-true-parents] [--sparse] < object-list
+ [--shallow] [--keep-true-parents] [--[no-]sparse] < object-list
DESCRIPTION
@@ -196,14 +196,16 @@ depth is 4095.
Add --no-reuse-object if you want to force a uniform compression
level on all data no matter the source.
---sparse::
- Use the "sparse" algorithm to determine which objects to include in
+--[no-]sparse::
+ Toggle the "sparse" algorithm to determine which objects to include in
the pack, when combined with the "--revs" option. 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.
+ certain types of direct renames. If this option is not included,
+ it defaults to the value of `pack.useSparse`, which is true unless
+ otherwise specified.
--thin::
Create a "thin" pack by omitting the common objects between a