summaryrefslogtreecommitdiff
path: root/Assistant/Types/Changes.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-11 15:14:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-11 15:14:42 -0400
commitb2f04c1ed094aec6f734103d50077c48f3aad2a9 (patch)
tree064012fec3e955f1422a6b05ad075894ea6c755b /Assistant/Types/Changes.hs
parentee98604d9463da1abadd0a9490f90a8bce358279 (diff)
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.
Diffstat (limited to 'Assistant/Types/Changes.hs')
-rw-r--r--Assistant/Types/Changes.hs2
1 files changed, 1 insertions, 1 deletions
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