aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/triggers/repo-specific-hooks')
-rwxr-xr-xsrc/triggers/repo-specific-hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/triggers/repo-specific-hooks b/src/triggers/repo-specific-hooks
index f8d2690..1158ff5 100755
--- a/src/triggers/repo-specific-hooks
+++ b/src/triggers/repo-specific-hooks
@@ -40,9 +40,9 @@ while (<>) {
next;
}
- unless ( $hook =~ /^(pre-receive|post-receive|post-update)$/ ) {
+ unless ( $hook =~ /^(pre-receive|post-receive|post-update|pre-auto-gc)$/ ) {
_warn "repo-specific-hooks: '$hook' is not allowed, ignoring";
- _warn " (only pre-receive, post-receive, and post-update are allowed)";
+ _warn " (only pre-receive, post-receive, post-update, and pre-auto-gc are allowed)";
next;
}