History of git irc bot post-commit script
After doing much digging around for the git equivalent of the [http://pythonwise.blogspot.com/2009/05/subversion-irc-bot.html|svn irc bot], a kind strange on irc.freenode.net/#git told me about the [http://tools.suckless.org/ii/|ii irc client].
__post-receive__ or __post-commit__ depending on how you want to setup your notifications:
{code source=bash}#!/bin/sh
echo "---- git commit ----" > /path/to/iihome/irc/#foobar/in
git log -1 > /path/to/iihome/irc/irc.example.com/#foobar/in{/code}
__post-receive__ or __post-commit__ depending on how you want to setup your notifications:
{code source=bash}#!/bin/sh
echo "---- git commit ----" > /path/to/iihome/irc/#foobar/in
git log -1 > /path/to/iihome/irc/irc.example.com/#foobar/in{/code}