Skip to content

Commit

Permalink
git-repack(1): document --window and --depth
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonas Fonseca authored and Junio C Hamano committed Sep 17, 2006
1 parent f58bb6f commit 02ac04f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Documentation/git-repack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 02ac04f

Please sign in to comment.