contrib/hooks: add an example pre-auto-gc hook
authorMiklos Vajna <vmiklos@frugalware.org>
Wed, 2 Apr 2008 19:35:11 +0000 (21:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:31:13 +0000 (01:31 -0700)
commitf949844263e866774063511c4538b96068dd8d1b
tree861f8d0bfd8b61142aff24beab629dfcd21f70b7
parent0b85d92661e215915fcca8fcff8953e4762733e2
contrib/hooks: add an example pre-auto-gc hook

It disables git-gc --auto when you are running Linux and you are
not on AC.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/pre-auto-gc-battery [new file with mode: 0644]