Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
kill limit_pathspec_to_literal() as it's only used by parse_pathspec()
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 4bc075422e3c17e7666ed90e4a35be020586be49..76a6a60906e4c26508a63950dc72b4250155e271 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-523,7
+523,7
@@
static int grep_directory(struct grep_opt *opt, const struct pathspec *pathspec,
if (exc_std)
setup_standard_excludes(&dir);
- fill_directory(&dir, pathspec
->raw
);
+ fill_directory(&dir, pathspec);
for (i = 0; i < dir.nr; i++) {
const char *name = dir.entries[i]->name;
int namelen = strlen(name);