diff options
-rw-r--r-- | Utility/INotify.hs | 6 | ||||
-rw-r--r-- | doc/bugs/git_annex_uninit_removes_files_not_previously_added_to_annex.mdwn | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Utility/INotify.hs b/Utility/INotify.hs index 2ce2b36aa..e9071d906 100644 --- a/Utility/INotify.hs +++ b/Utility/INotify.hs @@ -144,13 +144,15 @@ watchDir i dir ignored hooks _ -> noop filetype t f = catchBoolIO $ t <$> getSymbolicLinkStatus (indir f) - -- Inotify fails when there are too many watches with a - -- disk full error. failedaddwatch e + -- Inotify fails when there are too many watches with a + -- disk full error. | isFullError e = case errHook hooks of Nothing -> throw e Just hook -> tooManyWatches hook dir + -- The directory could have been deleted. + | isDoesNotExistError e = return () | otherwise = throw e tooManyWatches :: (String -> Maybe FileStatus -> IO ()) -> FilePath -> IO () diff --git a/doc/bugs/git_annex_uninit_removes_files_not_previously_added_to_annex.mdwn b/doc/bugs/git_annex_uninit_removes_files_not_previously_added_to_annex.mdwn index 3a810801d..71fd408e2 100644 --- a/doc/bugs/git_annex_uninit_removes_files_not_previously_added_to_annex.mdwn +++ b/doc/bugs/git_annex_uninit_removes_files_not_previously_added_to_annex.mdwn @@ -28,3 +28,5 @@ Linux Ubuntu 13.04 """]] [[!tag moreinfo]] + +> [[done]]; unreproducible by anyone. --[[Joey]] |