{"thread":{"id":"5833","subject":"[PATCH] Add default values for --window and --depth to the docs","startedAt":"2006-10-06T09:15:03Z","lastAt":"2006-10-06T10:05:14Z","messageCount":2,"participants":["Dennis Stosberg","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"28278","messageId":"20061006091503.16069.36227.stgit@leonov.stosberg.net","threadId":"5833","inReplyTo":null,"subject":"[PATCH] Add default values for --window and --depth to the docs","fromName":"Dennis Stosberg","fromEmail":"dennis@stosberg.net","sentAt":"2006-10-06T09:15:03Z","receivedAt":"2006-10-06T09:15:03Z","isPatch":true,"sender":{"key":"dennis@stosberg.net","avatar":null},"body":"Currently, you actually have to read the source to find out the\ndefault values. While at it, fix two typos and suggest that these\noptions actually take a parameter in git-pack-objects.txt.\n\nSigned-off-by: Dennis Stosberg <dennis@stosberg.net>\n---\n\n Documentation/git-pack-objects.txt |    7 ++++---\n Documentation/git-repack.txt       |    3 ++-\n 2 files changed, 6 insertions(+), 4 deletions(-)\n\ndiff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt\nindex d4661dd..f52e8fa 100644\n--- a/Documentation/git-pack-objects.txt\n+++ b/Documentation/git-pack-objects.txt\n@@ -71,11 +71,11 @@ base-name::\n --all::\n \tThis implies `--revs`.  In addition to the list of\n \trevision arguments read from the standard input, pretend\n-\tas if all refs under `$GIT_DIR/refs` are specifed to be\n+\tas if all refs under `$GIT_DIR/refs` are specified to be\n \tincluded.\n \n---window and --depth::\n-\tThese two options affects how the objects contained in\n+--window=[N], --depth=[N]::\n+\tThese two options affect how the objects contained in\n \tthe pack are stored using delta compression.  The\n \tobjects are first internally sorted by type, size and\n \toptionally names and compared against the other objects\n@@ -84,6 +84,7 @@ base-name::\n \tit too deep affects the performance on the unpacker\n \tside, because delta data needs to be applied that many\n \ttimes to get to the necessary object.\n+\tThe default value for both --window and --depth is 10.\n \n --incremental::\n \tThis flag causes an object already in a pack ignored\ndiff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt\nindex 49f7e0a..d2eaa09 100644\n--- a/Documentation/git-repack.txt\n+++ b/Documentation/git-repack.txt\n@@ -57,13 +57,14 @@ OPTIONS\n         `git update-server-info`.\n \n --window=[N], --depth=[N]::\n-\tThese two options affects how the objects contained in the pack are\n+\tThese two options affect how the objects contained in the pack are\n \tstored using delta compression. The objects are first internally\n \tsorted by type, size and optionally names and compared against the\n \tother objects within `--window` to see if using delta compression saves\n \tspace. `--depth` limits the maximum delta depth; making it too deep\n \taffects the performance on the unpacker side, because delta data needs\n \tto be applied that many times to get to the necessary object.\n+\tThe default value for both --window and --depth is 10.\n \n \n Author\n"},{"id":"28280","messageId":"7vwt7dzrmt.fsf@assigned-by-dhcp.cox.net","threadId":"5833","inReplyTo":"20061006091503.16069.36227.stgit@leonov.stosberg.net","subject":"Re: [PATCH] Add default values for --window and --depth to the docs","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-10-06T10:05:14Z","receivedAt":"2006-10-06T10:05:14Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks, as always.\n"}]}