projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commit: allow --pretty= args to be abbreviated
[git.git]
/
builtin-grep.c
diff --git
a/builtin-grep.c
b/builtin-grep.c
index
3d6e515
..
66111de
100644
(file)
--- a/
builtin-grep.c
+++ b/
builtin-grep.c
@@
-455,7
+455,7
@@
static int external_grep(struct grep_opt *opt, const char **paths, int cached)
push_arg("grep");
push_arg("-H");
if (opt->fixed)
- push_arg("-
H
");
+ push_arg("-
F
");
if (opt->linenum)
push_arg("-n");
if (opt->regflags & REG_EXTENDED)