scripts/contri*: fix the Credits-to regex

On my suggestion, the regex turned up wrong when looking for Credits-to
in git logs. This adjustment allows the leading spaces.

Follow-up to 64adc43a6e

Closes #21655
This commit is contained in:
Daniel Stenberg 2026-05-17 23:55:48 +02:00
parent 3c597ced16
commit 240408a725
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ CURLWWW="${CURLWWW:-../curl-www}"
git -C "$CURLWWW" log --pretty=full --use-mailmap "$start..HEAD"
fi
} | \
grep -Eai '(^Author|^Commit|^ +[a-z-]+-by|^Credits-to):' | \
grep -Eai '(^Author|^Commit|^ +[a-z-]+-by|^ +Credits-to):' | \
cut -d: -f2- | \
cut '-d(' -f1 | \
cut '-d<' -f1 | \

View file

@ -62,7 +62,7 @@ tail -n +7 ./docs/THANKS | sed 's/ github/ github/i' > $rand
git -C "$CURLWWW" log --use-mailmap "$start..HEAD"
fi
} | \
grep -Eai '(^Author|^Commit|^ +[a-z-]+-by|^Credits-to):' | \
grep -Eai '(^Author|^Commit|^ +[a-z-]+-by|^ +Credits-to):' | \
cut -d: -f2- | \
cut '-d(' -f1 | \
cut '-d<' -f1 | \