diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2019-03-25 11:39:17 -0700 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2019-03-25 11:39:17 -0700 |
commit | bb5553d4d19cd3373c99062e508c8cef8686e00d (patch) | |
tree | 87b72181a221d8c775e2a9effc6d9c799a93f784 /contrib | |
parent | b596df5c4d0745cc8d290d1a7715bbbece015d3c (diff) |
get-authors: Readd option -C to git blame command.
Diffstat (limited to 'contrib')
-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 6050e8bb6..6ee3166e2 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 --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/' | \ |