View commits.sh
#!/bin/sh
author=$1; shift;
patterns=( "$@" );
function get_commits() {
git log --author=$1 --pretty=tformat: --numstat \
| grep $2 \
| awk '{ add += $1; subs += $2; loc += $1 - $2 }
END {