Re: [PATCH v2 0/6] Kill the_repository in tree-walk.c

2019-06-27 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > tree-walk.h | 8 --- > unpack-trees.c | 2 +- > 25 files changed, 129 insertions(+), 97 deletions(-) > > Range-diff dựa trên v1: > 1: 35d7cdbe6a ! 1: 9e73c39f9a sha1-file.c: remove the_repo from > read_object_with_reference()

[PATCH v2 0/6] Kill the_repository in tree-walk.c

2019-06-27 Thread Nguyễn Thái Ngọc Duy
v2 fixes t7814 flakiness. The problem is git-grep can operate on multiple repos and I read objects from the wrong repo (supermodule) instead of the submodule one. There are still the_repository hidden in git-grep code paths, and the hack of asborbing submodule's object db to the_repo's in order to