Sync with 1.7.8.5

This commit is contained in:
Junio C Hamano
2012-02-26 16:42:35 -08:00
6 changed files with 39 additions and 6 deletions

2
grep.c
View File

@ -79,7 +79,7 @@ static void compile_pcre_regexp(struct grep_pat *p, const struct grep_opt *opt)
{
const char *error;
int erroffset;
int options = 0;
int options = PCRE_MULTILINE;
if (opt->ignore_case)
options |= PCRE_CASELESS;