projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grep: support newline separated pattern list
[git.git]
/
grep.h
diff --git
a/grep.h
b/grep.h
index cd055cdfa8cac903382d592f1ec7e2a22bf7f897..5b083affe13da91614a32107032d3f42096568e8 100644
(file)
--- a/
grep.h
+++ b/
grep.h
@@
-35,7
+35,7
@@
struct grep_pat {
const char *origin;
int no;
enum grep_pat_token token;
- c
onst c
har *pattern;
+ char *pattern;
size_t patternlen;
enum grep_header_field field;
regex_t regexp;