From: Brian Gernhardt Date: Mon, 31 Mar 2008 18:30:35 GMT Subject: Re: [PATCH 4/4] templates: add an example pre-auto-gc hook Message-ID: In-Reply-To: <283c63fb960d36a322b45fac97804af18a9e5abe.1206929014.git.vmiklos@frugalware.org> On Mar 31, 2008, at 5:37 AM, Miklos Vajna wrote: > +# An example hook script to verify if you are on battery. Called by > +# git-gc --auto with no arguments. The hook should exit with non- > zero > +# status after issuing an appropriate message if it wants to stop the > +# auto repacking. > +# > +# To enable this hook, make this file executable. You probably want to mention that this example hook is Linux-specific. ~~ Brian G.