Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-redundant: delete redundant code
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 71df52a333cbc756b057e93bf3d2affca8157860..bad9c0a3d5134a69d9388e169793b03c9952d9bf 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-437,7
+437,7
@@
static int grep_submodule(struct grep_opt *opt, struct repository *superproject,
* store is no longer global and instead is a member of the repository
* object.
*/
- add_to_alternates_memory(submodule.objects->o
bjectdir
);
+ add_to_alternates_memory(submodule.objects->o
db->path
);
grep_read_unlock();
if (oid) {