diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2018-06-22 12:58:13 -0700 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2018-06-25 14:11:54 -0700 |
commit | 897f55537b84bef1dae6cc32b383c76aa2734c1f (patch) | |
tree | 774e21213f746c3760c6943deee33417a39a9cfd | |
parent | ca64e0485fd07167e3d4c905b86ef7c372287b05 (diff) |
Do not use git blame -C in get-authors (too many false positives).
-rwxr-xr-x | contrib/get-authors | 2 |
1 files changed, 1 insertions, 1 deletions
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 <not.committed.yet>,$gituser," | \ sed 's/PaulMeng/Paul Meng/' | \ |