Changes in v2: * small style nits fixed. * Comment describing function contract for repo_read_index * NEEDSWORK comment in grep to describe the issue with adding the submodule's object store as an alternate. * the_repository->index = &the_index was removed from setup.c and instead this is done as a static initializer. Brandon Williams (3): repo_read_index: don't discard the index repository: have the_repository use the_index grep: recurse in-process using 'struct repository' Documentation/git-grep.txt | 7 - builtin/grep.c | 396 ++++++++++----------------------------------- cache.h | 1 - git.c | 2 +- grep.c | 13 -- grep.h | 1 - repository.c | 6 +- repository.h | 8 + setup.c | 12 +- 9 files changed, 99 insertions(+), 347 deletions(-) -- 2.13.2.932.g7449e964c-goog