check_pgsql: update copyright
[monitoring-plugins.git] / tools / git-post-receive-hook
blobc822a63b481a92e18beb78a4fc1e78309e7695a3
1 #!/bin/sh
3 prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications
4 recipient='Monitoring Plugins Commits <commits@monitoring-plugins.org>'
5 maxcommits=100
6 maxdiffsize=$((300 * 1024))
7 project='monitoring-plugins'
8 gitweburl='https://github.com/monitoring-plugins/monitoring-plugins'
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 -S \
22 -T \
23 -X \