From 659e6b13249ec9d8f3c01607b0eb819b8a5690fe Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 4 Jun 2012 17:18:54 -0400 Subject: suppress "recording state in git" message during add --- Command/Watch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3