aboutsummaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-19 09:17:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-19 09:17:06 -0400
commit627504744c80c8a7b3f4b43e3646a5ad5c35d92f (patch)
treeeae8c8c3fbac05e4e37be5b200e228e23e1d19dd /Assistant
parent57cf65eb6d811ba7fd19eb62a54e3b83a0c2dfa7 (diff)
inverted logic
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