Re: [PATCH 4/4] templates: add an example pre-auto-gc hook
On Mar 31, 2008, at 5:37 AM, Miklos Vajna wrote:
Show 7 quoted lines
> +# 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.