summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-05-08 13:28:26 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-09 05:47:17 (GMT)
commit618e613a706638a7a1fb5c87cd418158c9b2687c (patch)
treec2946064523ee60e68e2bf43cea9340d4674cf03
parent842aaf93238377976111fc801aaacbf8a491db33 (diff)
downloadgit-618e613a706638a7a1fb5c87cd418158c9b2687c.zip
git-618e613a706638a7a1fb5c87cd418158c9b2687c.tar.gz
git-618e613a706638a7a1fb5c87cd418158c9b2687c.tar.bz2
Increase pack.depth default to 50
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/config.txt2
-rw-r--r--Documentation/git-pack-objects.txt2
-rw-r--r--Documentation/git-repack.txt2
-rw-r--r--builtin-pack-objects.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 840dd81..ea434af 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -548,7 +548,7 @@ pack.window::
pack.depth::
The maximum delta depth used by gitlink:git-pack-objects[1] when no
- maximum depth is given on the command line. Defaults to 10.
+ maximum depth is given on the command line. Defaults to 50.
pull.octopus::
The default merge strategy to use when pulling multiple branches
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 5a7204c..bd3ee45 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -83,7 +83,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 --window is 10 and --depth is 10.
+ The default value for --window is 10 and --depth is 50.
--incremental::
This flag causes an object already in a pack ignored
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 0d70c9f..cc3b0b2 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -63,7 +63,7 @@ OPTIONS
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 --window is 10 and --depth is 10.
+ The default value for --window is 10 and --depth is 50.
Configuration
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 79d9228..966f843 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -64,7 +64,7 @@ static char tmpname[PATH_MAX];
static unsigned char pack_file_sha1[20];
static int progress = 1;
static int window = 10;
-static int depth = 10;
+static int depth = 50;
static int pack_to_stdout;
static int num_preferred_base;
static struct progress progress_state;