diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-03-21 17:15:32 -0700 |
---|---|---|
committer | Mathias Preiner <mathias.preiner@gmail.com> | 2018-03-21 17:15:32 -0700 |
commit | d3528b6db31f9bdff56bc519bbf427b2533c43b8 (patch) | |
tree | 3430e8929ec931986bad2391e6549b827d35c955 /contrib/get-authors | |
parent | 6a0b4c3c4c77aa1bdd1a44c41d4c3ad9c88d9307 (diff) |
Ignore whitespaces and moved code for contrib/get-authors.
Diffstat (limited to 'contrib/get-authors')
-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 c0f49fac9..a888d38f3 100755 --- a/contrib/get-authors +++ b/contrib/get-authors @@ -31,7 +31,7 @@ while [ $# -gt 0 ]; do fi ((header_lines++)) total_lines=`wc -l "$f" | awk '{print$1}'` - git blame --incremental -L $header_lines,$total_lines "$f" | \ + git blame -w -M -C --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/' | \ |