find: Avoid polluting stdout with progress messages. Closes: #718186
This commit is contained in:
parent
433682cb1d
commit
9476355bc3
5 changed files with 13 additions and 2 deletions
|
@ -30,6 +30,7 @@ import Annex.Content
|
|||
import Annex.Ssh
|
||||
import Annex.Environment
|
||||
import Command
|
||||
import Types.Messages
|
||||
|
||||
type Params = [String]
|
||||
type Flags = [Annex ()]
|
||||
|
@ -47,6 +48,8 @@ dispatch fuzzyok allargs allcmds commonoptions fields header getgitrepo = do
|
|||
checkEnvironment
|
||||
checkfuzzy
|
||||
forM_ fields $ uncurry Annex.setField
|
||||
when (cmdnomessages cmd) $
|
||||
Annex.setOutput QuietOutput
|
||||
sequence_ flags
|
||||
whenM (annexDebug <$> Annex.getGitConfig) $
|
||||
liftIO enableDebugOutput
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue