From: Joel Rosdahl Date: Wed, 15 Jan 2020 21:49:23 +0000 (+0100) Subject: Include “Co-authored-by” attributions when calculating authors X-Git-Tag: v4.0~678 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b6659ecb376493d5771333b6aef3b3b8669c27;p=thirdparty%2Fccache.git Include “Co-authored-by” attributions when calculating authors (cherry picked from commit cb301769895adc941845b16d124e0bff292a74c3) --- diff --git a/.mailmap b/.mailmap index db7f73455..c3a5ad8d5 100644 --- a/.mailmap +++ b/.mailmap @@ -1,7 +1,7 @@ Anders F Björklund Anders F Björklund Anders F Björklund -Andrew P Boie +Andrew Boie Bernhard Bauer Chiaki Ishikawa Clemens Rabe diff --git a/dev.mk.in b/dev.mk.in index 1bd2dcd42..d86984c06 100644 --- a/dev.mk.in +++ b/dev.mk.in @@ -190,9 +190,10 @@ doc/ccache.1: doc/MANUAL.xml .PHONY: update-authors update-authors: - git log --pretty=format:"%H %aN" \ - | grep -Ev 'd7c5056beda5483fcd5c098165fffd9be86fe98d' \ - | sed -r 's/[^ ]+/*/' \ + git log --pretty=format:"%H %aN%n%(trailers:only)" \ + | grep -Ev 'd7c5056beda5483fcd5c098165fffd9be86fe98d|http|Conflicts:' \ + | grep '^[^ ]' \ + | sed -r -e 's/[^ ]+/*/' -e 's/<.*//' -e 's/ *$$//' \ | sort -u \ | perl -00 -p -i -e 's/^\*.*/ . "\n"/es' doc/AUTHORS.adoc