summaryrefslogtreecommitdiff
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorJonas Fonseca <fonseca@diku.dk>2006-09-17 11:02:59 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-17 22:10:07 (GMT)
commit02ac04fc9feacc0174fcbddba6dc8c098c315b13 (patch)
treeb833c658e1c768a355a36ea6a69ab2fdbc8dae0e /Documentation/git-repack.txt
parentf58bb6fb41a24723ef59febe344f36956a9a8d41 (diff)
downloadgit-02ac04fc9feacc0174fcbddba6dc8c098c315b13.zip
git-02ac04fc9feacc0174fcbddba6dc8c098c315b13.tar.gz
git-02ac04fc9feacc0174fcbddba6dc8c098c315b13.tar.bz2
git-repack(1): document --window and --depth
Copy and pasted from git-pack-objects(1). Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-repack.txt')
-rw-r--r--Documentation/git-repack.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 9516227..49f7e0a 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -9,7 +9,7 @@ objects into pack files.
SYNOPSIS
--------
-'git-repack' [-a] [-d] [-f] [-l] [-n] [-q]
+'git-repack' [-a] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]
DESCRIPTION
-----------
@@ -56,6 +56,16 @@ OPTIONS
Do not update the server information with
`git update-server-info`.
+--window=[N], --depth=[N]::
+ These two options affects how the objects contained in the pack are
+ stored using delta compression. The objects are first internally
+ sorted by type, size and optionally names and compared against the
+ other objects within `--window` to see if using delta compression saves
+ space. `--depth` limits the maximum delta depth; making it too deep
+ affects the performance on the unpacker side, because delta data needs
+ to be applied that many times to get to the necessary object.
+
+
Author
------
Written by Linus Torvalds <torvalds@osdl.org>