#!/bin/bash
-IRKERPATH=/home/irker/VE/bin/
+IRKERPATH=/usr/bin/
function help() {
echo "Required config settings:"
# to get the rev list
# This does the wrong thing if the parent of the branch isn't master
# but it is kind of correct most of the time
- ${IRKERPATH}/irkerhook.py --refname=${refname} \
+ ${IRKERPATH}/irkerhook --refname=${refname} \
$(git rev-list $new --not master)
elif [ "x$new" = "x0000000000000000000000000000000000000000" ]; then
# We're deleting a branch - we need to do the right thing
${IRKERPATH}/irk $channel "$repo: Deleted branch $refname"
done
else
- ${IRKERPATH}/irkerhook.py --refname=${refname} \
+ ${IRKERPATH}/irkerhook --refname=${refname} \
$(git rev-list --reverse ${old}..${new})
fi
}