From: Junio C Hamano Date: Mon, 16 Jun 2014 19:18:12 +0000 (-0700) Subject: Merge branch 'nd/daemonize-gc' X-Git-Tag: v2.1.0-rc0~115 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1a81f6ceea7795e2b78cebd356d276afe79e7626 Merge branch 'nd/daemonize-gc' "git gc --auto" was recently changed to run in the background to give control back early to the end-user sitting in front of the terminal, but it forgot that housekeeping involving reflogs should be done without other processes competing for accesses to the refs. * nd/daemonize-gc: gc --auto: do not lock refs in the background --- 1a81f6ceea7795e2b78cebd356d276afe79e7626 diff --cc builtin/gc.c index 85f5c2bc62,4588af70df..8d219d8c42 --- a/builtin/gc.c +++ b/builtin/gc.c @@@ -26,7 -26,7 +26,8 @@@ static const char * const builtin_gc_us }; static int pack_refs = 1; + static int prune_reflogs = 1; +static int aggressive_depth = 250; static int aggressive_window = 250; static int gc_auto_threshold = 6700; static int gc_auto_pack_limit = 50;