We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63dab0c commit 8cf9d7dCopy full SHA for 8cf9d7d
t/t1093-virtualfilesystem.sh
@@ -368,4 +368,15 @@ test_expect_success 'folder with same prefix as file' '
368
test_cmp expected actual
369
'
370
371
+test_expect_success MINGW,FSMONITOR_DAEMON 'virtualfilesystem hook disables built-in FSMonitor' '
372
+ clean_repo &&
373
+ test_config core.usebuiltinfsmonitor true &&
374
+ write_script .git/hooks/virtualfilesystem <<-\EOF &&
375
+ printf "dir1/\0"
376
+ EOF
377
+ git config core.virtualfilesystem .git/hooks/virtualfilesystem &&
378
+ git status &&
379
+ test_must_fail git fsmonitor--daemon status
380
+'
381
+
382
test_done
0 commit comments