mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:47:28 +03:00
contributors.sh: split list of names at comma
... to support a list of names provided in a commit message.
This commit is contained in:
parent
8ee182288a
commit
1b314a85db
1 changed files with 2 additions and 0 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue