debuggery
This commit is contained in:
parent
c4023f7858
commit
ce7889ba86
1 changed files with 7 additions and 0 deletions
|
@ -190,6 +190,13 @@ safeToAdd st changes = runThreadState st $
|
||||||
tmpdir <- fromRepo gitAnnexTmpDir
|
tmpdir <- fromRepo gitAnnexTmpDir
|
||||||
openfiles <- S.fromList . map fst3 . filter openwrite <$>
|
openfiles <- S.fromList . map fst3 . filter openwrite <$>
|
||||||
liftIO (Lsof.queryDir tmpdir)
|
liftIO (Lsof.queryDir tmpdir)
|
||||||
|
|
||||||
|
liftIO $ debug thisThread
|
||||||
|
[ "checking changes:"
|
||||||
|
, show changes
|
||||||
|
, "vs open files:"
|
||||||
|
, show openfiles
|
||||||
|
]
|
||||||
|
|
||||||
let checked = map (check openfiles) changes
|
let checked = map (check openfiles) changes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue