1 #!/bin/sh
3 prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications
4 recipient='Nagios Plugin Commits <nagiosplug-checkins@lists.sourceforge.net>'
5 maxcommits=100
6 maxdiffsize=$((300 * 1024))
7 project='nagiosplug'
8 gitweburl='http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug'
9 gitnotify="$prefix/git-notify.pl"
10 statefile="$prefix/git-notify.dat"
12 exec "$gitnotify" \
13 -c "$project" \
14 -m "$recipient" \
15 -n "$maxcommits" \
16 -s "$maxdiffsize" \
17 -t "$statefile" \
18 -u "$gitweburl" \
19 -A \
20 -C \
21 -H \
22 -S \
23 -T \
24 -X \
25 -z