From: Eric Sunshine Date: Tue, 12 Dec 2017 20:17:37 GMT Subject: Re: [PATCH 2/3] submodule: used correct index in is_staging_gitmodules_ok Message-ID: In-Reply-To: <20171212195352.146675-3-bmwill@google.com> On Tue, Dec 12, 2017 at 2:53 PM, Brandon Williams 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