]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-grep.c
.mailmap: Map the the first submissions of MJG by e-mail
[git.git] / builtin-grep.c
index 26979577d3f753cdc8b3358954249708d4cb53ef..371db0aa9e6572c5b25ea679a510bc8784a25759 100644 (file)
@@ -844,6 +844,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
        opt.relative = 1;
        opt.pathname = 1;
        opt.pattern_tail = &opt.pattern_list;
+       opt.header_tail = &opt.header_list;
        opt.regflags = REG_NEWLINE;
        opt.max_depth = -1;