Browse Source

Increase pack.depth default to 50

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Theodore Ts'o 18 years ago committed by Junio C Hamano
parent
commit
618e613a70
  1. 2
      Documentation/config.txt
  2. 2
      Documentation/git-pack-objects.txt
  3. 2
      Documentation/git-repack.txt
  4. 2
      builtin-pack-objects.c

2
Documentation/config.txt

@ -548,7 +548,7 @@ pack.window:: @@ -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

2
Documentation/git-pack-objects.txt

@ -83,7 +83,7 @@ base-name:: @@ -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

2
Documentation/git-repack.txt

@ -63,7 +63,7 @@ OPTIONS @@ -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

2
builtin-pack-objects.c

@ -64,7 +64,7 @@ static char tmpname[PATH_MAX]; @@ -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;

Loading…
Cancel
Save