From 897f55537b84bef1dae6cc32b383c76aa2734c1f Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Fri, 22 Jun 2018 12:58:13 -0700 Subject: [PATCH] Do not use git blame -C in get-authors (too many false positives). --- contrib/get-authors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/get-authors b/contrib/get-authors index 6ee3166e2..6050e8bb6 100755 --- a/contrib/get-authors +++ b/contrib/get-authors @@ -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 ,$gituser," | \ sed 's/PaulMeng/Paul Meng/' | \ -- 2.30.2