[PATCH 3/4] templates: add an example pre-auto-gc hook
it's empty by default.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
templates/hooks--pre-auto-gc | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 templates/hooks--pre-auto-gc
diff --git a/templates/hooks--pre-auto-gc b/templates/hooks--pre-auto-gc
new file mode 100644
index 0000000..8a9bf37
--- /dev/null
+++ b/templates/hooks--pre-auto-gc
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# An example hook that is 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.
+
+: Nothing
--
1.5.5.rc2.4.gec07.dirty