Skip to content

Commit

Permalink
Include “Co-authored-by” attributions when calculating authors
Browse files Browse the repository at this point in the history
(cherry picked from commit cb30176)
  • Loading branch information
jrosdahl committed Jan 15, 2020
1 parent 81daa2a commit d4b6659
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .mailmap
@@ -1,7 +1,7 @@
Anders F Björklund <anders.f.bjorklund@gmail.com>
Anders F Björklund <anders.f.bjorklund@gmail.com> <anders@itension.se>
Anders F Björklund <anders.f.bjorklund@gmail.com> <anders@psqr.se>
Andrew P Boie <andrew.p.boie@intel.com>
Andrew Boie <andrew.p.boie@intel.com>
Bernhard Bauer <bauerb@chromium.org> <bauerb@google.com>
Chiaki Ishikawa <ishikawa@yk.rim.or.jp>
Clemens Rabe <clemens.rabe@gmail.com> <clemens.rabe@clemensrabe.de>
Expand Down
7 changes: 4 additions & 3 deletions dev.mk.in
Expand Up @@ -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/^\*.*/<STDIN> . "\n"/es' doc/AUTHORS.adoc

Expand Down

0 comments on commit d4b6659

Please sign in to comment.