summaryrefslogtreecommitdiff
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-10-06 09:15:03 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-06 09:53:39 (GMT)
commit3df196716eb89e752c96cf252d5c712387a7c112 (patch)
tree213c17c769192d0017e216f9a68d78f17d50b381 /Documentation/git-repack.txt
parentabd6970acad5d758f48c13f7420367ae8216038e (diff)
downloadgit-3df196716eb89e752c96cf252d5c712387a7c112.zip
git-3df196716eb89e752c96cf252d5c712387a7c112.tar.gz
git-3df196716eb89e752c96cf252d5c712387a7c112.tar.bz2
Add default values for --window and --depth to the docs
Currently, you actually have to read the source to find out the default values. While at it, fix two typos and suggest that these options actually take a parameter in git-pack-objects.txt. Signed-off-by: Dennis Stosberg <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-repack.txt')
-rw-r--r--Documentation/git-repack.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 49f7e0a..d2eaa09 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -57,13 +57,14 @@ OPTIONS
`git update-server-info`.
--window=[N], --depth=[N]::
- These two options affects how the objects contained in the pack are
+ These two options affect 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.
+ The default value for both --window and --depth is 10.
Author