You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
320 B
Django/Jinja

#!/bin/bash
HOSTNAME=`hostname --fqdn`
MAILTO={{ etckeeper_mailto }}
# (echo "Diffstat:" ; git show | diffstat ; echo -e "\nDiff:" ; \
# git show | filterdiff -x '**/*shadow*' -x '**/*.key' -x '**/private/*' ) \
# | mail -s "etckeeper $HOSTNAME" $MAILTO
git show --stat | mail -s "etckeeper $HOSTNAME" $MAILTO