Fix pattern to find names.

Don't fall on your face if a commit message has ): in it somewhere.
This commit is contained in:
Jean Jordaan 2012-09-01 13:28:24 +07:00
parent 7f324175de
commit 74d9c030be

View file

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