mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Fix pattern to find names.
Don't fall on your face if a commit message has ): in it somewhere.
This commit is contained in:
parent
7f324175de
commit
74d9c030be
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Reference in a new issue