path: root/Documentation/git-pack-objects.txt
diff options
authorDennis Stosberg <>2006-10-06 09:15:03 (GMT)
committerJunio C Hamano <>2006-10-06 09:53:39 (GMT)
commit3df196716eb89e752c96cf252d5c712387a7c112 (patch)
tree213c17c769192d0017e216f9a68d78f17d50b381 /Documentation/git-pack-objects.txt
parentabd6970acad5d758f48c13f7420367ae8216038e (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index d4661dd..f52e8fa 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -71,11 +71,11 @@ base-name::
This implies `--revs`. In addition to the list of
revision arguments read from the standard input, pretend
- as if all refs under `$GIT_DIR/refs` are specifed to be
+ as if all refs under `$GIT_DIR/refs` are specified to be
---window and --depth::
- These two options affects how the objects contained in
+--window=[N], --depth=[N]::
+ 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
@@ -84,6 +84,7 @@ base-name::
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.
This flag causes an object already in a pack ignored