Increase pack.depth default to 50
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
Theodore Ts'o committed
May 8, 2007 at 09:28 UTC
618e613a706638a7a1fb5c87cd418158c9b2687c
4 files changed
+4
-4
Documentation/config.txt
+1
-1
@@ -548,7 +548,7 @@ pack.window::
548
549
pack.depth::
550
The maximum delta depth used by gitlink:git-pack-objects[1] when no
551
- maximum depth is given on the command line. Defaults to 10.
551
+ maximum depth is given on the command line. Defaults to 50.
552
553
pull.octopus::
554
The default merge strategy to use when pulling multiple branches
Documentation/git-pack-objects.txt
+1
-1
@@ -83,7 +83,7 @@ base-name::
83
it too deep affects the performance on the unpacker
84
side, because delta data needs to be applied that many
85
times to get to the necessary object.
86
- The default value for --window is 10 and --depth is 10.
86
+ The default value for --window is 10 and --depth is 50.
87
88
--incremental::
89
This flag causes an object already in a pack ignored
Documentation/git-repack.txt
+1
-1
@@ -63,7 +63,7 @@ OPTIONS
63
space. `--depth` limits the maximum delta depth; making it too deep
64
affects the performance on the unpacker side, because delta data needs
65
to be applied that many times to get to the necessary object.
66
- The default value for --window is 10 and --depth is 10.
66
+ The default value for --window is 10 and --depth is 50.
67
68
69
Configuration
builtin-pack-objects.c
+1
-1
@@ -64,7 +64,7 @@ static char tmpname[PATH_MAX];
64
static unsigned char pack_file_sha1[20];
65
static int progress = 1;
66
static int window = 10;
67
-static int depth = 10;
67
+static int depth = 50;
68
static int pack_to_stdout;
69
static int num_preferred_base;
70
static struct progress progress_state;