hooks: add pre-auto-gc hook
commit59c0d315317cd78ba2c9c9f419d7387e4054437b
authorKyle J. McKay <mackyle@gmail.com>
Mon, 25 Dec 2017 06:45:32 +0000 (24 22:45 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 25 Dec 2017 06:45:32 +0000 (24 22:45 -0800)
treec9c121aa9b2f02a2364992cc648854a0f1c28dd8
parent732055439b68a3622b5c3337e7327f49c156d40d
hooks: add pre-auto-gc hook

Girocco takes great care to avoid ever having auto gc trigger.

However, just before it does there's one final, last-ditch opportunity
to stop it.  A pre-auto-gc hook that always exits with a non-zero
status.

Since having a pre-auto-gc hook does not normally incur any penalties
as it will not normally ever be run by Girocco, provide one as a
form of cheap insurance against "git gc --auto" accidents.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Project.pm
hooks/pre-auto-gc [new file with mode: 0755]
install.sh
toolbox/update-all-hooks.sh