aboutsummaryrefslogtreecommitdiff
path: root/Command/Watch.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Watch.hs')
-rw-r--r--Command/Watch.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/Watch.hs b/Command/Watch.hs
index 046777685..4a0ee6640 100644
--- a/Command/Watch.hs
+++ b/Command/Watch.hs
@@ -31,6 +31,7 @@ start :: CommandStart
start = notBareRepo $ do
showStart "watch" "."
showAction "scanning"
+ inRepo $ Git.Command.run "add" [Param "--update"]
state <- Annex.getState id
next $ next $ liftIO $ withINotify $ \i -> do
let hook a = Just $ run state a