summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-04-03 00:14:16 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-04-03 00:14:16 -0700
commit8f84c95fb23848fce7f817daa5818f9822ddc0f9 (patch)
tree3c59cb341315b99dd0bcec3b09fbaedc3d0f893b /Documentation/git-pack-objects.txt
parentMerge branch 'nd/init-gitdir' (diff)
parentGit 1.7.4.3 (diff)
downloadtgif-8f84c95fb23848fce7f817daa5818f9822ddc0f9.tar.xz
Sync with 1.7.4.3
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r--Documentation/git-pack-objects.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 442018bcb8..08c89d221c 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -192,13 +192,18 @@ self-contained. Use `git index-pack --fix-thin`
--delta-base-offset::
A packed archive can express the base object of a delta as
either a 20-byte object name or as an offset in the
- stream, but older versions of git don't understand the
+ stream, but ancient versions of git don't understand the
latter. By default, 'git pack-objects' only uses the
former format for better compatibility. This option
allows the command to use the latter format for
compactness. Depending on the average delta chain
length, this option typically shrinks the resulting
packfile by 3-5 per-cent.
++
+Note: Porcelain commands such as `git gc` (see linkgit:git-gc[1]),
+`git repack` (see linkgit:git-repack[1]) pass this option by default
+in modern git when they put objects in your repository into pack files.
+So does `git bundle` (see linkgit:git-bundle[1]) when it creates a bundle.
--threads=<n>::
Specifies the number of threads to spawn when searching for best