]> git.feebdaed.xyz Git - 0xmirror/curl.git/commitdiff
contributors.sh: only check -by: lines for names
authorDaniel Stenberg <daniel@haxx.se>
Fri, 19 Dec 2025 10:06:41 +0000 (11:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 19 Dec 2025 10:07:53 +0000 (11:07 +0100)
Avoid catching lines that otherwise just says "by:" something.

scripts/contributors.sh

index ddc9bdfba0320380eb334fe0b147d044824b3721..f8f08b3065919d78902c36e641e588dd72cf49e7 100755 (executable)
@@ -62,7 +62,7 @@ CURLWWW="${CURLWWW:-../curl-www}"
       git -C "$CURLWWW" log --pretty=full --use-mailmap "$start..HEAD"
     fi
   } | \
-  grep -Eai '(^Author|^Commit|by):' | \
+  grep -Eai '(^Author|^Commit|-by):' | \
   cut -d: -f2- | \
   cut '-d(' -f1 | \
   cut '-d<' -f1 | \