1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh set -e if [ -z "$(git config --get irker.project)" ] then exit 0 fi echo "sending IRC notification" while read OLD NEW REFNAME do irkerhook --refname=${REFNAME} $(git rev-list --reverse ${OLD}..${NEW}) done