summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-31 13:04:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-31 13:04:41 +0200
commit0d7d9b481d8dff60c96b20967bc6e30aa388b3c5 (patch)
tree22037688757557ccf2ac75aade44eb46232f0d53
parent50849f6e8b86cd7eb163a42d89e911da3eff04ee (diff)
Ignore binary files in review script, force color
-rwxr-xr-xreview3
1 files changed, 2 insertions, 1 deletions
diff --git a/review b/review
index d9d4b07..8ae1054 100755
--- a/review
+++ b/review
@@ -38,6 +38,7 @@ for m in $modules; do
fo="$fo -type f -print"
for f in `find $m $fo`; do
- grep --color=auto --with-filename '@@' $f || true
+ grep --binary-files=without-match --color=always --with-filename \
+'@@' $f || true
done
done