Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge-recursive: remove return value from get_files_dirs
[gitweb.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index 11a86548d6504e397c0e219aa2318b6cddd4f163..2efec0e182d5c20fb77903fc61dedd09a8ee7ba3 100644
(file)
--- a/
grep.c
+++ b/
grep.c
@@
-593,7
+593,7
@@
static void compile_fixed_regexp(struct grep_pat *p, struct grep_opt *opt)
{
struct strbuf sb = STRBUF_INIT;
int err;
- int regflags =
REG_NEWLINE
;
+ int regflags =
0
;
basic_regex_quote_buf(&sb, p->pattern);
if (opt->ignore_case)