From: Nguyễn Thái Ngọc Duy Date: Fri, 19 Oct 2018 17:34:43 +0000 (+0200) Subject: submodule.c: remove some of the_repository references X-Git-Tag: v2.20.0-rc0~69^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6245b98b0e4e6c59b24794fa63f29b65d851569e?hp=6245b98b0e4e6c59b24794fa63f29b65d851569e submodule.c: remove some of the_repository references Commit 174d131fc9 (submodule.c: remove implicit dependency on the_index - 2018-09-21) makes collect_changed_submodules() take a "struct index_state *" as argument even if it's not really used. My bad. Instead of deleting this argument and fixing up all call sites. Let's take this opportunity to remove some the_repository instead because there's one or two in this function (and two more in its callback). The callers can also get rid of some the_repository. Noticed-by: Jeff King Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---