aboutsummaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/Watch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Watch.hs b/Command/Watch.hs
index 0f60bd636..b38c04d2c 100644
--- a/Command/Watch.hs
+++ b/Command/Watch.hs
@@ -62,7 +62,7 @@ run startstate a f = do
- The git queue is immediately flushed, so the file is added to git
- now, rather than later (when it may have been already moved or deleted!) -}
onAdd :: FilePath -> Annex ()
-onAdd file = do
+onAdd file = doQuietSideAction $ do
void $ doCommand $ do
showStart "add" file
next $ Add.perform file