aboutsummaryrefslogtreecommitdiff
path: root/tools/git-post-receive-hook
diff options
context:
space:
mode:
Diffstat (limited to 'tools/git-post-receive-hook')
-rwxr-xr-xtools/git-post-receive-hook2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/git-post-receive-hook b/tools/git-post-receive-hook
index 70d259e7..fd1f8697 100755
--- a/tools/git-post-receive-hook
+++ b/tools/git-post-receive-hook
@@ -4,11 +4,13 @@ prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications
recipient='Nagios Plugin Commits <nagiosplug-checkins@lists.sourceforge.net>'
maxcommits=100
maxdiffsize=$((300 * 1024))
+project='nagiosplug'
gitweburl='http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug'
gitnotify="$prefix/git-notify.pl"
statefile="$prefix/git-notify.dat"
exec "$gitnotify" \
+ -c "$project" \
-m "$recipient" \
-n "$maxcommits" \
-s "$maxdiffsize" \