From b2f04c1ed094aec6f734103d50077c48f3aad2a9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Mar 2013 15:14:42 -0400 Subject: synthesize RmChange when a directory is deleted This gets directory renames closer to being fully detected. There's close to no extra overhead to doing it this way. --- Assistant/Types/Changes.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant/Types') diff --git a/Assistant/Types/Changes.hs b/Assistant/Types/Changes.hs index 9f0aad7a7..651085947 100644 --- a/Assistant/Types/Changes.hs +++ b/Assistant/Types/Changes.hs @@ -14,7 +14,7 @@ import Utility.TSet import Data.Time.Clock import Control.Concurrent.STM -data ChangeInfo = AddChange Key | LinkChange (Maybe Key) | RmChange | RmDirChange +data ChangeInfo = AddChange Key | LinkChange (Maybe Key) | RmChange deriving (Show, Eq) changeInfoKey :: ChangeInfo -> Maybe Key -- cgit v1.2.3