blob: c822a63b481a92e18beb78a4fc1e78309e7695a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications
recipient='Monitoring Plugins Commits <commits@monitoring-plugins.org>'
maxcommits=100
maxdiffsize=$((300 * 1024))
project='monitoring-plugins'
gitweburl='https://github.com/monitoring-plugins/monitoring-plugins'
gitnotify="$prefix/git-notify.pl"
statefile="$prefix/git-notify.dat"
exec "$gitnotify" \
-c "$project" \
-m "$recipient" \
-n "$maxcommits" \
-s "$maxdiffsize" \
-t "$statefile" \
-u "$gitweburl" \
-A \
-C \
-S \
-T \
-X \
-z
|