diff options
Diffstat (limited to 'copyright')
-rwxr-xr-x | copyright | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -54,6 +54,13 @@ while IFS= read -r -d '' f; do continue fi + # Exclude binary files. + # + if file -b --mime "$f" | grep -q "charset=binary"; then + info "skipping binary $f" + continue + fi + files+=("$f") done < <(git ls-tree -r HEAD -z --name-only ) |