Ignore whitespaces and moved code for contrib/get-authors.
authorMathias Preiner <mathias.preiner@gmail.com>
Thu, 22 Mar 2018 00:15:32 +0000 (17:15 -0700)
committerMathias Preiner <mathias.preiner@gmail.com>
Thu, 22 Mar 2018 00:15:32 +0000 (17:15 -0700)
contrib/get-authors

index c0f49fac9f7b00cacfb2999adb71b72106bb6ed9..a888d38f380f5e656fd83c08d8ae5bd16a80fbdf 100755 (executable)
@@ -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/' | \