aboutsummaryrefslogtreecommitdiff
path: root/Utility/DirWatcher.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-17 17:01:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-17 17:01:43 -0400
commitc125cd9815c7ea5d13473dbc0253c02f0a9baf23 (patch)
tree1d0d0ae392526318d6367d54d7a90ad9ec598f48 /Utility/DirWatcher.hs
parent423c3926b7fe6f9e03ac3f381be5de1f1f71e665 (diff)
assistant: Fix OSX bug that prevented committing changed files to a repository when in indirect mode.
Diffstat (limited to 'Utility/DirWatcher.hs')
-rw-r--r--Utility/DirWatcher.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/DirWatcher.hs b/Utility/DirWatcher.hs
index d038f59ac..d28381fae 100644
--- a/Utility/DirWatcher.hs
+++ b/Utility/DirWatcher.hs
@@ -47,10 +47,10 @@ canWatch = False
- OTOH, with kqueue, often only one event is received, indicating the most
- recent state of the file. -}
eventsCoalesce :: Bool
-#if (WITH_INOTIFY || WITH_FSEVENTS)
+#if WITH_INOTIFY
eventsCoalesce = False
#else
-#if WITH_KQUEUE
+#if (WITH_KQUEUE || WITH_FSEVENTS)
eventsCoalesce = True
#else
eventsCoalesce = undefined