]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.c
git-mv: allow submodules and fsmonitor to work together
authorBen Peart <benpeart@microsoft.com>
Mon, 10 Sep 2018 16:29:29 +0000 (16:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2018 17:04:45 +0000 (10:04 -0700)
commit43f1180814f456ba5fb90a55c90766b5799bd1a7
tree5265c29fe877499f82e97d0b8e7fd903eed8ad63
parent53f9a3e157dbbc901a02ac2c73346d375e24978c
git-mv: allow submodules and fsmonitor to work together

It was reported that

   GIT_FSMONITOR_TEST=$PWD/t7519/fsmonitor-all ./t7411-submodule-config.sh

breaks as the fsmonitor data is out of sync with the state of the .gitmodules
file. Update is_staging_gitmodules_ok() so that it no longer tells
ie_match_stat() to ignore refreshing the fsmonitor data.

Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Helped-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c