git-gc --auto: add pre-auto-gc hook
authorMiklos Vajna <vmiklos@frugalware.org>
Wed, 2 Apr 2008 19:34:38 +0000 (21:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:31:13 +0000 (01:31 -0700)
commitbde30540169dd625cbd862ff6f38bc8224ec081c
tree8fa0474ce4e5913451fc8b4aa0c1638f83fe4c04
parent1d2375ddfee18bd3effd2c1f98527cc2f8b1df0a
git-gc --auto: add pre-auto-gc hook

If such a hook is available and exits with a non-zero status, then
git-gc --auto won't run.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-gc.c