diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-03-23 00:04:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-23 00:11:31 -0700 |
commit | 970639740c5f57508e42aeacd23823d7cf001659 (patch) | |
tree | b6df95de3ba769fa370f1545ef83d8c0227e218b /builtin-gc.c | |
parent | dc96bdb9469632fcb29f660d18a96fede99fcea2 (diff) | |
download | git-970639740c5f57508e42aeacd23823d7cf001659.tar.gz |
gc --auto: raise default auto pack limit from 20 to 50
Recent discussion on the list, with the improvement f7c22cc (always start
looking up objects in the last used pack first, 2007-05-30) brought in,
reached the concensus that the current default 20 is too low.
Reference: http://thread.gmane.org/gmane.comp.version-control.git/77586
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-gc.c')
-rw-r--r-- | builtin-gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-gc.c b/builtin-gc.c index 509bb9c6b3..8cef36f6a4 100644 --- a/builtin-gc.c +++ b/builtin-gc.c @@ -25,7 +25,7 @@ static const char * const builtin_gc_usage[] = { static int pack_refs = 1; static int aggressive_window = -1; static int gc_auto_threshold = 6700; -static int gc_auto_pack_limit = 20; +static int gc_auto_pack_limit = 50; static char *prune_expire = "2.weeks.ago"; #define MAX_ADD 10 |