tj.git-extras/bin/git-count
Jean Jordaan 74d9c030be Fix pattern to find names.
Don't fall on your face if a commit message has ): in it somewhere.
2012-09-01 13:28:24 +07:00

9 lines
138 B
Bash
Executable file

#!/bin/sh
if test "$1" = "--all"; then
git shortlog -n $@ | grep "):$" | sed 's|:||'
echo
fi
echo total `git log --oneline | wc -l`