tj.git-extras/bin/git-count
2010-09-07 08:55:36 -07:00

8 lines
136 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`