Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep.c: remove implicit dependency on the_index
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 601f801158f097b302dcf6615016bb4cefbc0225..0667ffde84ad552ca1aa271cd49b46e59a91326b 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-904,9
+904,9
@@
int cmd_grep(int argc, const char **argv, const char *prefix)
OPT_END()
};
- init_grep_defaults();
+ init_grep_defaults(
the_repository
);
git_config(grep_cmd_config, NULL);
- grep_init(&opt, prefix);
+ grep_init(&opt,
the_repository,
prefix);
/*
* If there is no -- then the paths must exist in the working