Merge branch 'maint-1.6.0' into maint

* maint-1.6.0:
  grep: pass -I (ignore binary) down to external grep
This commit is contained in:
Junio C Hamano 2009-02-03 00:32:29 -08:00
Родитель 6ac92294b3 bc395643b6
Коммит 281907574c
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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)