aboutsummaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Committer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Committer.hs b/Assistant/Committer.hs
index d3f7f15c5..74f0922b7 100644
--- a/Assistant/Committer.hs
+++ b/Assistant/Committer.hs
@@ -90,7 +90,7 @@ handleAdds st changechan cs
toadd' <- safeToAdd st toadd
unless (null toadd') $ do
added <- filter id <$> forM toadd' add
- when (DirWatcher.eventsCoalesce && not (null added)) $
+ unless (DirWatcher.eventsCoalesce || null added) $
handleAdds st changechan
=<< getChanges changechan
where