Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: fixup nested submodules after moving the submodule
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 754eb6da3bf90768723e6eed04b7ff0d3a352a16..c1f22fb9fbaaed5bfc441641cd353ee16d887889 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-643,7
+643,7
@@
static int grep_objects(struct grep_opt *opt, const struct pathspec *pathspec,
/* load the gitmodules file for this rev */
if (recurse_submodules) {
- submodule_free();
+ submodule_free(
the_repository
);
gitmodules_config_oid(&real_obj->oid);
}
if (grep_object(opt, pathspec, real_obj, list->objects[i].name,