summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-10 08:06:20 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-10 08:06:20 (GMT)
commit63fba759bc1d9405f362e73918096815bf8e2a15 (patch)
tree400e76f4c8505e0212652dc4047f012b489c2870 /Documentation/git-pack-objects.txt
parenta2700696995651322796e04092bf4a4bfed31b88 (diff)
downloadgit-63fba759bc1d9405f362e73918096815bf8e2a15.zip
git-63fba759bc1d9405f362e73918096815bf8e2a15.tar.gz
git-63fba759bc1d9405f362e73918096815bf8e2a15.tar.bz2
pack-objects: document --delta-base-offset option
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r--Documentation/git-pack-objects.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index d4661dd..5788709 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -9,7 +9,7 @@ git-pack-objects - Create a packed archive of objects
SYNOPSIS
--------
[verse]
-'git-pack-objects' [-q] [--no-reuse-delta] [--non-empty]
+'git-pack-objects' [-q] [--no-reuse-delta] [--delta-base-offset] [--non-empty]
[--local] [--incremental] [--window=N] [--depth=N]
[--revs [--unpacked | --all]*] [--stdout | base-name] < object-list
@@ -110,6 +110,17 @@ base-name::
This flag tells the command not to reuse existing deltas
but compute them from scratch.
+--delta-base-offset::
+ A packed archive can express base object of a delta as
+ either 20-byte object name or as an offset in the
+ stream, but older version of git does not 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.
+
Author
------