aboutsummaryrefslogtreecommitdiff
path: root/scripts/contributors.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/contributors.sh')
-rwxr-xr-xscripts/contributors.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/contributors.sh b/scripts/contributors.sh
index 0bb16ec00..6a6d34484 100755
--- a/scripts/contributors.sh
+++ b/scripts/contributors.sh
@@ -38,6 +38,11 @@ if test -z "$start"; then
echo "Since $start:"
fi
+# We also include curl-www if possible. Override by setting CURLWWW
+if [ -z "$CURLWWW" ] ; then
+ CURLWWW=../curl-www
+fi
+
# filter out Author:, Commit: and *by: lines
# cut off the email parts
# split list of names at comma
@@ -47,8 +52,15 @@ fi
# only count names with a space (ie more than one word)
# sort all unique names
# awk them into RELEASE-NOTES format
+
(
-git log --pretty=full --use-mailmap $start..HEAD | \
+ (
+ git log --pretty=full --use-mailmap $start..HEAD
+ if [ -d "$CURLWWW" ]
+ then
+ git -C ../curl-www log --pretty=full --use-mailmap $start..HEAD
+ fi
+ ) | \
egrep -ai '(^Author|^Commit|by):' | \
cut -d: -f2- | \
cut '-d(' -f1 | \