> It is a known issue with the hook, it only really monitors
> the master branch.

Long time ago I did something similar for a project where I
was working. I think solution could be to add an update hook
similar to this:

#!/bin/sh

repo=`basename $PWD`
refname=$1
oldrev=$2
newrev=$3

tohackers()
{
        for i in $*
        do
                subject=`git log -1 --prety-format:"%s || %an" $i`
                git log -1 -p |
                mail -s "[$repo] $subject" "hackers@suckless.org"
        done
}

case $type,$oldrev in
commit,0+$)
        tohackers `git rev-list $newrev`
        ;;
commit)
        tohackers `git rev-list $oldrev..$newrev`
        ;;
.)
        ;;
esac


And other point, how is it possible that ed, the standard editor!!!,
is not installed in a suckless machine?!?!?!!!

Regards,

-- 
Roberto E. Vargas Caballero

Reply via email to