/usr/src/openswan-2.6.38/packaging/utils/git-update-hook is in openswan-modules-dkms 1:2.6.38-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh
refname=${1#refs/heads/}
[ "$refname" = "master" ] && refname=
oldhead=$2
newhead=$3
for merged in $(git-rev-list $newhead ^$oldhead | tac); do
/public/scm/openswan.public/.git/ciabot.pl $merged $refname
done
touch /public/scm/openswan.public/.git/last-update
|