diff options
Diffstat (limited to 'contrib/get-authors')
-rwxr-xr-x | contrib/get-authors | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/get-authors b/contrib/get-authors index bdf331400..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/' | \ @@ -40,9 +40,11 @@ while [ $# -gt 0 ]; do sed 's/guykatzz/Guy/' | \ sed 's/Guy Katz/Guy/' | \ sed 's/Guy/Guy Katz/' | \ + sed 's/makaimann/Makai Mann/' | \ sed 's/Martin Brain/Martin/' | \ sed 's/Martin/Martin Brain/' | \ sed 's/justinxu421/Justin Xu/' | \ + sed 's/yoni206/Yoni Zohar/' | \ eval "$strip_email" | \ sort | uniq -c | sort -nr | head -n 3 | \ ( while read lines author; do |