Re: [PATCH] submodule.c: remove some of the_repository references

2018-10-19 Thread Stefan Beller
On Fri, Oct 19, 2018 at 10:34 AM Nguyễn Thái Ngọc Duy wrote: > > > struct collect_changed_submodules_cb_data { > + struct repository *repo; This slightly overlaps with sb/submodule-recursive-fetch-gets-the-tip, but we can have this patch on its own as I have to rebuild that series, will bu

[PATCH] submodule.c: remove some of the_repository references

2018-10-19 Thread Nguyễn Thái Ngọc Duy
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 re