gc: config option for running --auto in background
commit9f673f9477c63433aa0774c11b9e42979721f4d6
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 8 Feb 2014 07:08:52 +0000 (8 14:08 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2014 18:46:37 +0000 (10 10:46 -0800)
tree866fe2aba1898f77e4cfb43d46d19db885fe1f5e
parentde0957ce2e88b8ad639f1e4a7197eb556e114a1c
gc: config option for running --auto in background

`gc --auto` takes time and can block the user temporarily (but not any
less annoyingly). Make it run in background on systems that support
it. The only thing lost with running in background is printouts. But
gc output is not really interesting. You can keep it in foreground by
changing gc.autodetach.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin/gc.c
t/t5400-send-pack.sh