From: Miklos Vajna Date: Tue, 01 Apr 2008 11:39:43 GMT Subject: [PATCH 3/4] templates: add an example pre-auto-gc hook Message-ID: <3ab373c8a2bbe5d682852050fe0692c78fcc151b.1207049697.git.vmiklos@frugalware.org> In-Reply-To: <7vsky6jhz3.fsf@gitster.siamese.dyndns.org> it's empty by default. Signed-off-by: Miklos Vajna --- 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