Do not use git blame -C in get-authors (too many false positives).
authorAina Niemetz <aina.niemetz@gmail.com>
Fri, 22 Jun 2018 19:58:13 +0000 (12:58 -0700)
committerAina Niemetz <aina.niemetz@gmail.com>
Mon, 25 Jun 2018 21:11:54 +0000 (14:11 -0700)
contrib/get-authors

index 6ee3166e2378cc36b8b6cc49b1b1b18533cc0a62..6050e8bb6780ef76af95e60dbe764de2ac1d81cb 100755 (executable)
@@ -30,7 +30,7 @@ while [ $# -gt 0 ]; do
   fi
   ((header_lines++))
   total_lines=`wc -l "$f" | awk '{print$1}'`
-  git blame -w -M -C --incremental -L $header_lines,$total_lines "$f" | \
+  git blame -w -M --incremental -L $header_lines,$total_lines "$f" | \
     gawk '/^[0-9a-f]+ [0-9]+ [0-9]+ [0-9]+$/ {nl=$4;} /^summary .*copyright/ {nl=0} /^author / {$1=""; author=$0;} /^author-mail / {mail=$2} /^filename / {while(nl--) {print author,mail}}' | \
     sed "s,Not Committed Yet <not.committed.yet>,$gituser," | \
     sed 's/PaulMeng/Paul Meng/' | \