@@ -41,18 +41,18 @@ describe('gitdir_watcher', function()
4141 command (' Gitsigns clear_debug' )
4242 edit (test_file )
4343
44- local revparse_pat = (' run_job : git .* rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD' ):gsub (
44+ local revparse_pat = (' system.system : git .* rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD' ):gsub (
4545 ' %-' ,
4646 ' %%-'
4747 )
4848
4949 match_debug_messages ({
50- ' attach(1): Attaching (trigger=BufReadPost)' ,
50+ ' attach.attach (1): Attaching (trigger=BufReadPost)' ,
5151 np (revparse_pat ),
52- np (' run_job : git .* config user.name' ),
53- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file )),
54- n (' attach(1 ): Watching git dir' ),
55- np (' run_job : git .* show .*' ),
52+ np (' system.system : git .* config user.name' ),
53+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file )),
54+ np (' attach%.attach%(1% ): Watching git dir .* ' ),
55+ np (' system.system : git .* show .*' ),
5656 })
5757
5858 eq ({ [1 ] = test_file }, get_bufs ())
@@ -63,13 +63,13 @@ describe('gitdir_watcher', function()
6363 git (' mv' , test_file , test_file2 )
6464
6565 match_debug_messages ({
66- p (' watcher_cb : Git dir update: .*' ),
67- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file )),
68- np (' run_job : git .* diff %-%-name%-status .* %-%-cached' ),
69- n (' handle_moved(1): File moved to dummy.txt2' ),
70- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file2 )),
71- np (' handle_moved%(1%): Renamed buffer 1 from .*/dummy.txt to .*/dummy.txt2' ),
72- np (' run_job : git .* show .*' ),
66+ p (' git.repo.watcher.watcher.handler : Git dir update: .*' ),
67+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file )),
68+ np (' system.system : git .* diff %-%-name%-status .* %-%-cached' ),
69+ n (' attach. handle_moved(1): File moved to dummy.txt2' ),
70+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file2 )),
71+ np (' attach%. handle_moved%(1%): Renamed buffer 1 from .*/dummy.txt to .*/dummy.txt2' ),
72+ np (' system.system : git .* show .*' ),
7373 })
7474
7575 eq ({ [1 ] = test_file2 }, get_bufs ())
@@ -81,13 +81,13 @@ describe('gitdir_watcher', function()
8181 git (' mv' , test_file2 , test_file3 )
8282
8383 match_debug_messages ({
84- p (' watcher_cb : Git dir update: .*' ),
85- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file2 )),
86- np (' run_job : git .* diff %-%-name%-status .* %-%-cached' ),
87- n (' handle_moved(1): File moved to dummy.txt3' ),
88- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file3 )),
89- np (' handle_moved%(1%): Renamed buffer 1 from .*/dummy.txt2 to .*/dummy.txt3' ),
90- np (' run_job : git .* show .*' ),
84+ p (' git.repo.watcher.watcher.handler : Git dir update: .*' ),
85+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file2 )),
86+ np (' system.system : git .* diff %-%-name%-status .* %-%-cached' ),
87+ n (' attach. handle_moved(1): File moved to dummy.txt3' ),
88+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file3 )),
89+ np (' attach%. handle_moved%(1%): Renamed buffer 1 from .*/dummy.txt2 to .*/dummy.txt3' ),
90+ np (' system.system : git .* show .*' ),
9191 })
9292
9393 eq ({ [1 ] = test_file3 }, get_bufs ())
@@ -97,14 +97,14 @@ describe('gitdir_watcher', function()
9797 git (' mv' , test_file3 , test_file )
9898
9999 match_debug_messages ({
100- p (' watcher_cb : Git dir update: .*' ),
101- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file3 )),
102- np (' run_job : git .* diff %-%-name%-status .* %-%-cached' ),
103- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file )),
104- n (' handle_moved(1): Moved file reset' ),
105- np (' run_job : git .* ls%-files .* ' .. vim .pesc (test_file )),
106- np (' handle_moved%(1%): Renamed buffer 1 from .*/dummy.txt3 to .*/dummy.txt' ),
107- np (' run_job : git .* show .*' ),
100+ p (' git.repo.watcher.watcher.handler : Git dir update: .*' ),
101+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file3 )),
102+ np (' system.system : git .* diff %-%-name%-status .* %-%-cached' ),
103+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file )),
104+ n (' attach. handle_moved(1): Moved file reset' ),
105+ np (' system.system : git .* ls%-files .* ' .. vim .pesc (test_file )),
106+ np (' attach%. handle_moved%(1%): Renamed buffer 1 from .*/dummy.txt3 to .*/dummy.txt' ),
107+ np (' system.system : git .* show .*' ),
108108 })
109109
110110 eq ({ [1 ] = test_file }, get_bufs ())
0 commit comments