Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'po/userdiff-csharp'
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 597f76bc42f51e0fc1906c287981e3d37dc0f536..cf6c29fa42d96f8bc8282e779617a60d40796166 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-836,7
+836,7
@@
int cmd_grep(int argc, const char **argv, const char *prefix)
struct grep_opt opt;
struct object_array list = { 0, 0, NULL };
const char **paths = NULL;
- struct string_list path_list =
{ NULL, 0, 0, 0 }
;
+ struct string_list path_list =
STRING_LIST_INIT_NODUP
;
int i;
int dummy;
int nongit = 0, use_index = 1;