]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Make update authors script find Co-authored-by that is not in trailer
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 21 Apr 2020 18:45:02 +0000 (20:45 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 21 Apr 2020 18:49:11 +0000 (20:49 +0200)
doc/AUTHORS.adoc
misc/update_authors.sh

index a7b993de1df69fb7b47d6639bda11dd511bf0778..53e61502d5049e28e04dfc7a9442d24d1fb383a5 100644 (file)
@@ -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
index f108589f79a6d0eff999aed0dddecbcbe9bdfad5..1400a9d4f597d041e0d21d70bf24bfc1dccd4618 100755 (executable)
@@ -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 \