From 7bbcf26edf15d20544a94ff02d566215444357ca Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 10 Jul 2026 12:17:52 +0200 Subject: [PATCH] scripts/contri*: find 'Thanks-to' references Also any other `-to:` alternatives. Co-authored-by: Daniel Stenberg Closes #22293 --- scripts/contributors.sh | 2 +- scripts/contrithanks.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/contributors.sh b/scripts/contributors.sh index a3a11d5243..f43f91d446 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -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|to)):' | \ cut -d: -f2- | \ cut '-d(' -f1 | \ cut '-d<' -f1 | \ diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 85f382b755..cea98976f5 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -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|to)):' | \ cut -d: -f2- | \ cut '-d(' -f1 | \ cut '-d<' -f1 | \