diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-09-12 15:12:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-09-12 15:12:06 +0200 |
commit | 1b314a85dbae8915b4fb06ade8aa3817afd25cfc (patch) | |
tree | 4b91045ff0eca9dde0cfe20628b0d7432b046818 /contributors.sh | |
parent | 8ee182288af1bd828613fdcab2e7e8b551e91901 (diff) | |
download | curl-1b314a85dbae8915b4fb06ade8aa3817afd25cfc.tar.gz |
contributors.sh: split list of names at comma
... to support a list of names provided in a commit message.
Diffstat (limited to 'contributors.sh')
-rwxr-xr-x | contributors.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contributors.sh b/contributors.sh index 153fec9e1..d148f5289 100755 --- a/contributors.sh +++ b/contributors.sh @@ -34,6 +34,7 @@ fi # filter out Author:, Commit: and *by: lines # cut off the email parts +# split list of names at comma # cut off spaces first and last on the line # only count names with a space (ie more than one word) # sort all unique names @@ -42,6 +43,7 @@ git log $start..HEAD | \ egrep -i '(Author|Commit|by):' | \ cut -d: -f2- | \ cut '-d<' -f1 | \ +tr , '\012' | \ sed -e 's/^ //' -e 's/ $//g' | \ grep ' ' | \ sort -fu | |