aboutsummaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2026-09-10 17:06:10 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2026-09-10 17:06:10 +0200
commit6129e73d4b73d42f361e84d2f919c0309ff0d313 (patch)
treed21bd366004eb748c10123c2bf884ef24ffa7c50 /Main.hs
parent826075786b2ddb58190c27294cdb70cbf19f5b25 (diff)
downloadgit-auto-acp-6129e73d4b73d42f361e84d2f919c0309ff0d313.tar.gz
git-auto-acp-6129e73d4b73d42f361e84d2f919c0309ff0d313.tar.bz2
oh.
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 73acb57..74a406a 100644
--- a/Main.hs
+++ b/Main.hs
@@ -116,7 +116,7 @@ main = do
done <- newEmptyMVar -- TODO catch sigterm
-- start some watchers
for_ (optWatches o) $ \w@(Watch path _) ->
- watchTree fsmgr path (allEvents $ elem gitDir . splitPath) . const
+ watchTree fsmgr path (allEvents $ not . elem gitDir . splitPath) . const
$ writeChan chan (Change w)
-- start the event crunching thread
void . forkIO