copyright script will now --follow files
parent
79109304cc
commit
7822f120ca
|
@ -84,7 +84,7 @@ for file in $files; do
|
||||||
# determine copyrightable years from commit log and format as year1, year2,
|
# determine copyrightable years from commit log and format as year1, year2,
|
||||||
# ..., yearn (TODO: join consecutive years with dash)
|
# ..., yearn (TODO: join consecutive years with dash)
|
||||||
years=$(
|
years=$(
|
||||||
git log --format='%aD %s' -- "$file" \
|
git log --format='%aD %s' --follow -- "$file" \
|
||||||
| grep -vF '[copyright]' \
|
| grep -vF '[copyright]' \
|
||||||
| cut -d' ' -f4 \
|
| cut -d' ' -f4 \
|
||||||
| sort -u \
|
| sort -u \
|
||||||
|
|
Loading…
Reference in New Issue