[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook
From: Miklos Vajna <vmiklos () frugalware ! org>
Date: 2008-03-31 9:36:44
Message-ID: 0a4fb03744d2a8c3e38030a29098e25823aed6bc.1206929014.git.vmiklos () frugalware ! org
[Download RAW message or body]
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
Documentation/hooks.txt | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt
index 76b8d77..04ec352 100644
--- a/Documentation/hooks.txt
+++ b/Documentation/hooks.txt
@@ -276,3 +276,13 @@ probably enable this hook.
Both standard output and standard error output are forwarded to
`git-send-pack` on the other end, so you can simply `echo` messages
for the user.
+
+pre-auto-gc
+-----------
+
+This hook is invoked by `git-gc --auto`, and can be bypassed with
+`\--no-verify` option. It takes no parameter, and exiting with non-zero
+status from this script causes the `git-gc --auto` to abort.
+
+The default 'pre-auto-gc' hook, when enabled, defers auto repacking when
+you are on battery.
--
1.5.5.rc2.4.g283c6
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic