Re: [hackers] [st] Add missed names of charset sequences || Roberto E. Vargas Caballero

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Sat, 27 Sep 2014 12:27:40 +0200

> 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_AT_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
Received on Sat Sep 27 2014 - 12:27:40 CEST

This archive was generated by hypermail 2.3.0 : Sat Sep 27 2014 - 12:36:09 CEST