Skip to content

Commit

Permalink
Merge branch 'maint-1.6.0' into maint
Browse files Browse the repository at this point in the history
* maint-1.6.0:
  grep: pass -I (ignore binary) down to external grep
  • Loading branch information
Junio C Hamano committed Feb 3, 2009
2 parents 6ac9229 + bc39564 commit 2819075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin-grep.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ static int external_grep(struct grep_opt *opt, const char **paths, int cached)
push_arg("-E");
if (opt->regflags & REG_ICASE)
push_arg("-i");
if (opt->binary == GREP_BINARY_NOMATCH)
push_arg("-I");
if (opt->word_regexp)
push_arg("-w");
if (opt->name_only)
Expand Down

0 comments on commit 2819075

Please sign in to comment.