summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-26 16:42:35 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-26 16:42:35 -0800
commit4d06691eeca5712319a7e8cf2085d081dca9ea47 (patch)
tree961407cb13c26eeeea6aff0af9146e33eea3d75c /grep.c
parent09ccbd34f4fe37a682a10b23d86f915b2a8a9c28 (diff)
parentc524ceb12f65e2ad4fc68c9d5b39f6e4b6b5c17b (diff)
downloadgit-4d06691eeca5712319a7e8cf2085d081dca9ea47.tar.gz
Sync with 1.7.8.5
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grep.c b/grep.c
index 3821400966..f492d267cc 100644
--- a/grep.c
+++ b/grep.c
@@ -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;