delta: get contributors without changing THANKS

Give contrithanks.sh the option to send the list of names to stdout so
that delta can use it appropriately for counting.

Closes #16449
This commit is contained in:
Daniel Stenberg 2025-02-24 13:17:38 +01:00
parent dfdd380844
commit db2fd7c3de
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 19 additions and 7 deletions

View file

@ -52,7 +52,7 @@ $acommitters = `git shortlog -s | wc -l`;
$ncommitters = $acommitters - $bcommitters;
# number of contributors right now
$acontribs = `./scripts/contrithanks.sh | grep -c '^[^ ]'`;
$acontribs = `./scripts/contrithanks.sh stdout | wc -l`;
# number when the tag was set
$bcontribs = `git show $start:docs/THANKS | grep -c '^[^ ]'`;
# delta