summaryrefslogtreecommitdiff
path: root/Command/Watch.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-04 17:18:54 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-04 17:18:54 -0400
commit659e6b13249ec9d8f3c01607b0eb819b8a5690fe (patch)
treeb33aabcf767268db875f71213af3162bf87a92dc /Command/Watch.hs
parent529a3721e1bd396694786a56630bd2d40c368c23 (diff)
suppress "recording state in git" message during add
Diffstat (limited to 'Command/Watch.hs')
-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