Code

receive-pack: run "gc --auto --quiet" and optionally "update-server-info"
authorJunio C Hamano <gitster@pobox.com>
Tue, 20 Oct 2009 21:56:40 +0000 (14:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Oct 2009 22:32:32 +0000 (15:32 -0700)
commit77e3efbf43a1060049121350cc3ae8c208e77d57
tree862e5120e12f3422903822f2f86eb3bbb238f35a
parentdad5f89fc568639c43bdbf344411757adf39d636
receive-pack: run "gc --auto --quiet" and optionally "update-server-info"

Introduce two new configuration variables, receive.autogc (defaults to
true) and receive.updateserverinfo (defaults to false).  When these are
set, receive-pack runs "gc --auto --quiet" and "update-server-info"
respectively after it finishes receiving data from "git push" and updating
refs.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Documentation/config.txt
builtin-receive-pack.c