]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7527-builtin-fsmonitor.sh
Merge branch 'js/diff-cached-fsmonitor-fix'
[thirdparty/git.git] / t / t7527-builtin-fsmonitor.sh
index 0c241d6c148d7b5ebc9a9b3aaf44723fb1028e8b..78503158fd699d2df75e8fbbbaf164a129f2578b 100755 (executable)
@@ -809,6 +809,11 @@ my_match_and_clean () {
                status --porcelain=v2 >actual.without &&
        test_cmp actual.with actual.without &&
 
+       git -C super --no-optional-locks diff-index --name-status HEAD >actual.with &&
+       git -C super --no-optional-locks -c core.fsmonitor=false \
+               diff-index --name-status HEAD >actual.without &&
+       test_cmp actual.with actual.without &&
+
        git -C super/dir_1/dir_2/sub reset --hard &&
        git -C super/dir_1/dir_2/sub clean -d -f
 }