From: Joel Rosdahl Date: Tue, 21 Apr 2020 18:45:02 +0000 (+0200) Subject: Make update authors script find Co-authored-by that is not in trailer X-Git-Tag: v4.0~532 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b20f862db0ffcd16991663d56d69c22db5abfd5a;p=thirdparty%2Fccache.git Make update authors script find Co-authored-by that is not in trailer --- diff --git a/doc/AUTHORS.adoc b/doc/AUTHORS.adoc index a7b993de1..53e61502d 100644 --- a/doc/AUTHORS.adoc +++ b/doc/AUTHORS.adoc @@ -99,6 +99,7 @@ ccache is a collective work with contributions from many people, including: * RW * Ryan Brown * Sam Gross +* Steffen Dettmer * Thomas Otto * Thomas Röfer * Timofei Kushnir diff --git a/misc/update_authors.sh b/misc/update_authors.sh index f108589f7..1400a9d4f 100755 --- a/misc/update_authors.sh +++ b/misc/update_authors.sh @@ -6,7 +6,7 @@ if [ -d .git ]; then # Update doc/AUTHORS.adoc with Git commit authors plus authors mentioned via # a "Co-authored-by:" in the commit message. - (git log --pretty=format:"%(trailers)" | grep -Po "(?<=Co-authored-by: )(.*)(?= <)"; \ + (git log | grep -Po "(?<=Co-authored-by: )(.*)(?= <)"; \ git log --format="%aN") \ | sed 's/^/* /' \ | LANG=en_US.utf8 sort -uf \