Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/test-copy-bytes-fix'
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 0d6e669732dadd574c69924578bf85ed6e6aeaf8..7e79eb1a754a5f604829e3e9e6d98d83712be9b6 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-1170,8
+1170,6
@@
int cmd_grep(int argc, const char **argv, const char *prefix)
if (!opt.pattern_list)
die(_("no pattern given."));
- if (!opt.fixed && opt.ignore_case)
- opt.regflags |= REG_ICASE;
/*
* We have to find "--" in a separate pass, because its presence