git-gc --auto: move threshold check to need_to_gc() function.
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2007 07:37:06 +0000 (00:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2007 06:12:15 +0000 (23:12 -0700)
commitcaf9de2f46471dc25180bf519c07537c00a68dda
tree7717cb3e0c073a671af521e5f867f87a731f693b
parent65aa53029a32a1ad36523f3e7a1bb933d4494805
git-gc --auto: move threshold check to need_to_gc() function.

That is where we decide if we are going to run gc
automatically.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-gc.c