diff options
author | Joey Hess <joey@kitenet.net> | 2013-03-11 15:14:42 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-11 15:14:42 -0400 |
commit | b2f04c1ed094aec6f734103d50077c48f3aad2a9 (patch) | |
tree | 064012fec3e955f1422a6b05ad075894ea6c755b /Assistant/Types | |
parent | ee98604d9463da1abadd0a9490f90a8bce358279 (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')
-rw-r--r-- | Assistant/Types/Changes.hs | 2 |
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 |