@matheusbsbs / matheus-bagliano / commits / 02ac04fc9f
Fork 0

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>

Jonas Fonseca committed Sep 17, 2006 at 13:02 UTC 02ac04fc9feacc0174fcbddba6dc8c098c315b13
1 file changed +11 -1
Documentation/git-repack.txt
+11 -1
@@ -9,7 +9,7 @@ objects into pack files.
9
10 SYNOPSIS
11 --------
12 -'git-repack' [-a] [-d] [-f] [-l] [-n] [-q]
12 +'git-repack' [-a] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]
13
14 DESCRIPTION
15 -----------
@@ -56,6 +56,16 @@ OPTIONS
56 Do not update the server information with
57 `git update-server-info`.
58
59 +--window=[N], --depth=[N]::
60 + These two options affects how the objects contained in the pack are
61 + stored using delta compression. The objects are first internally
62 + sorted by type, size and optionally names and compared against the
63 + other objects within `--window` to see if using delta compression saves
64 + space. `--depth` limits the maximum delta depth; making it too deep
65 + affects the performance on the unpacker side, because delta data needs
66 + to be applied that many times to get to the necessary object.
67 +
68 +
69 Author
70 ------
71 Written by Linus Torvalds <torvalds@osdl.org>