summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-04 18:14:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-04 18:14:42 -0400
commitec98581112070244d5cdd69d4228aeab856ce3eb (patch)
tree148a3f834645cc1e41197bd558c95d370a0fc897
parent5b4e5ce7e5141eac7f0bc81033d7d7676ff0008f (diff)
notice deleted files on startup
-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