From: Jonas Fonseca Date: Sun, 17 Sep 2006 11:02:59 +0000 (+0200) Subject: git-repack(1): document --window and --depth X-Git-Tag: v1.4.3-rc1~86 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02ac04fc9feacc0174fcbddba6dc8c098c315b13;p=git.git git-repack(1): document --window and --depth Copy and pasted from git-pack-objects(1). Signed-off-by: Jonas Fonseca Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt index 951622774..49f7e0a4a 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