Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_oid_hex_segment(): don't pad the rest of `oid`
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index a7157f56327c0a9b2d4cccbdb2ee47666902392d..42ff87065a0e72c999488d2844463f901fd73a5c 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