mirror of
https://github.com/curl/curl.git
synced 2026-05-22 22:16:25 +03:00
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:
parent
3c597ced16
commit
240408a725
2 changed files with 2 additions and 2 deletions
|
|
@ -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 | \
|
||||
|
|
|
|||
|
|
@ -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 | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue