aboutsummaryrefslogtreecommitdiff
path: root/contributors.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-11-05 14:07:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-05 23:14:32 +0100
commit14de67fc779914c029ae8eccabd3e5d4257a92ba (patch)
tree7602ec8b8d823f099c4e0e98aa652127aa58b7d7 /contributors.sh
parent783c7f97ba4d499e26c96e9726d2af912f612bec (diff)
contributors.sh: split lists using " and "
... and require the space after the filtering to make the filter able to remove names.
Diffstat (limited to 'contributors.sh')
-rwxr-xr-xcontributors.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/contributors.sh b/contributors.sh
index de1944d62..9f0b10b33 100755
--- a/contributors.sh
+++ b/contributors.sh
@@ -35,9 +35,10 @@ fi
# filter out Author:, Commit: and *by: lines
# cut off the email parts
# split list of names at comma
+# split list of names at " and "
# cut off spaces first and last on the line
-# only count names with a space (ie more than one word)
# filter alternatives through THANKS-filter
+# only count names with a space (ie more than one word)
# sort all unique names
# awk them into RELEASE-NOTES format
git log $start..HEAD | \
@@ -45,9 +46,10 @@ egrep -i '(Author|Commit|by):' | \
cut -d: -f2- | \
cut '-d<' -f1 | \
tr , '\012' | \
+sed 's/ and /\n/' | \
sed -e 's/^ //' -e 's/ $//g' | \
-grep ' ' | \
sed -f ./docs/THANKS-filter | \
+grep ' ' | \
sort -fu | \
awk '{
num++;