Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object-store: provide helpers for loose_objects_cache
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index d8508ddf792dd22dc0c8c283df29e5e6d9dacbf7..714c8d91bab9ea32c4646b5e4366805cdb8c1fab 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-441,7
+441,7
@@
static int grep_submodule(struct grep_opt *opt, struct repository *superproject,
* object.
*/
grep_read_lock();
- add_to_alternates_memory(submodule.objects->o
bjectdir
);
+ add_to_alternates_memory(submodule.objects->o
db->path
);
grep_read_unlock();
if (oid) {