On Tue, Dec 12, 2017 at 2:53 PM, Brandon Williams <bmwill@xxxxxxxxxx> wrote: > Commit 883e248b8 (fsmonitor: teach git to optionally utilize a file > system monitor to speed up detecting new or changed files., 2017-09-22) > introduced a call to 'ce_match_stat()' in 'is_staging_gitmodules_ok()' > which implicitly relys on the the global 'the_index' instead of the s/relys/relies/ > passed in 'struct index_state'. Fix this by changing the call to > 'ie_match_stat()' and using the passed in index_state struct. > > Signed-off-by: Brandon Williams <bmwill@xxxxxxxxxx>